3

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

In MSDN library topic "Walkthrough: Using a Database Data Source with the ReportViewer Web Server Control in Local Processing Mode", which is located in the following Url, http://msdn.microsoft.com/en-us/library/ms252123.aspx

I am following the steps in section "Define a data connection and DataTable by adding a DataSet", step 2, which says,

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

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

Anything wrong?

BTW: I am working under an ASP.Net application, not a web site type project.

1 Answer 1

3

BTW: I am working under an ASP.Net application, not a web site type project.

I think that is the reason why you don't see that prompt message. For a Website project, every code file should go into App_Code folder but for a Web Application project, that is not the case.

Sign up to request clarification or add additional context in comments.

2 Comments

So, you think there is no issue in my environment?
No, your environment is completely fine, it's just you can place your code files anywhere in your project while working on a Web Application project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.