Add dataset issue to ASP.Net application

I am using VSTS 2008 + C # + .Net 3.5 + ASP.Net + SQL Server 2008 Enterprise to develop a simple web application.

In the MSDN library test, “Walkthrough: Using a Database Data Source Using ReportViewer Web Server Management in Local Processing Mode,” located at the following URL, http://msdn.microsoft.com/en-us/library/ ms252123.aspx

I follow the steps in the section “Defining a Data Connection and DataTable by Adding a DataSet”, step 2, which reads:

In the Add New Item dialog box, select DataSet and click Add. When prompted to add the item to the App_Code folder, click Yes.

My question is that when I click add for a data source, DataSet1.xsd is added directly to my project, there are no additional requests to ask if this item should be added to the App_Code folder.

Something is wrong?

BTW: I am working in an ASP.Net application, not a website type project.

+3
source share
1 answer

BTW: I work under an ASP.Net application, not a project type website.

I think that is why you do not see this message. For a project, Websiteeach code file should be in a folder App_Code, but for a project Web Applicationthis is not so.

+3
source

Source: https://habr.com/ru/post/1751908/


All Articles