The first Windows forms2.0 data logging Application

Source: Internet
Author: User

The steps are as follows:

1. Create a Windows ApplicationProgram

2. Add a new data source and data source, open a data menu, and choose to add a new data source, the "data source configuration example" dialog box displays the selected data types as the data source type. Then, next, the system displays the selection area of "select your data transfer interface", and selects the desired data transfer interface. Click "create role" and click "pay-as-you-go". Under the data source, select "Microsoft SQL Serve ". Set the optional values under the data provider to "for SQL Serve. NET framework data delivery program ", click" add listener ", and in the" add listener "dialog box, enter localhost in the server name field, if you choose to use a Windows identity authentication credential, enter "northwind" in the selected certificate or website, and click "OK, the system will re-display the "data source configuration example" page showing "select your data sources". click Next, you need to save the accept string to the application configuration file to accept the system-provided silence value;

3. Select the target image, the last part of the "data source configuration example" will show the data contained in the selected data records of the selected data segment.. Open the "table" Operation point, and then select the "employees" table. Keep the Data Set Name of the northwinddataset recognized in the lower part of the window, and then click "continue.

4. Customize the data source space ing. Select the "data" menu and "Data Source" to open the data source window, the system displays the dataset generated by the data source to the Employees table, showing the automatically generated control that can be customized by the data volume, click the drop-down arrow next to the photo field to select the automatically generated custom space type picturebox, click the drop-down arrow next to the Employees table in zookeeper, and modify the metadata type of the custom control,

5. generate the data logging control, press the Mouse icon on the employees nodes of the Data Source Monitoring dataset, and drag and drop the Mouse icon to the window, we can see that the designer generates a customized control for each column in The Employees table on the entire window.

6. Run the command successfully.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.