About the strongly typed DataSet (original) for ASP.

Source: Internet
Author: User

Finding a lot of information on the Internet has found that very few people use the strongly typed data set provided by net.

At present, the study of one months, to do the overall summary.

First strongly typed data set, strong in there.

Datasets We create DataSet if we create it in code, because we don't have a strongly typed definition of a table of code, we have to know the name of the table and the field to execute it.

In contrast, the Dateset strongly typed DataSet, whose tables and fields have been strongly typed, has been defined for the data type of the field, and the best is that strongly typed data fields can be used entirely in Chinese.

It can be used directly when used. Strongly typed datasets are recommended to set up the dataset in App_Code, but I found that if it is established here, using OBJDS will appear in the selection of two options, in order to facilitate, I am generally self-built in

A separate folder, such as "date".

Create a data set

After you open the project, add the new item selection data in the date folder and the data set is created and changed to the file name you want. such as: DS

Automatically opens the DataSet Designer interface when the dataset is built. In Server Explorer, drag the table that you want to join the dataset to, and then generate it.

The default data set is copied to the output directory: No.

Build Action: None

About the strongly typed DataSet (original) for ASP.

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.