Creating a LINQ Enabled ASP.NET Web application template using C#.[转]原文地址:http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/839/Default.aspx
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]其他相关地址:Building and using a LINQ for SQL Class Library with ASP.NET 2.0
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         1. Install Visual Studio 2005 RTM.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         2. Download and install "Visual Studio 2005 Web Application Projects" at http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         3. Install "C# LINQ Tech Preview Update for Visual Studio 2005 RTM Release" from the Downloads section at http://download.microsoft.com/download/4/7/0/4703eba2-78c4-4b09-8912-69f6c38d3a56/LINQ%20Preview.msi
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         4. Start Visual Studio 2005 and create a "New Project" (NOT a New Website). In project templates under Visual C# Project Types, select "ASP.NET Application", type a name for the project and click OK.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         5. Close Visual Studio 2005.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         6. In Windows Explorer, go to the newly created project folder (typically in My Documents/Visual Studio 2005/Projects/ProjectName/) and open the .csproj file using notepad.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         7. Replace the following line: 
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]   1.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]      with:
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         1. Open your project with Visual Studio 2005 and Right click on your web application project in the Solution Explorer and Select Add Reference….
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         2. Add references to the following libraries by selecting them in the list box listed under .NET Tab:
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               1. System.Query.dll
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               2. System.Data.DLinq.dll
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               3. System.Xml.XLINQ.dll 
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         3. Click OK.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         4. View code of your default.aspx (open default.aspx.cs)
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         5. Add the following lines in your using sectionCreating a LINQ Enabled ASP.NET Web application template using C#.[转]
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               1. using System.Query;
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               2. using System.Data.DLinq;
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               3. using System.Xml;
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]               4. using System.Xml.XLinq; 
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         6. With the project opened in Visual Studio 2005, in the File menu, select "Export TemplateCreating a LINQ Enabled ASP.NET Web application template using C#.[转]"
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         7. Select "Project Template" option, then click the Next> button
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         8. Type "LINQ Web Application using C#" in the Template Name textbox
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]         9. Type "A project to create an ASP.NET Web Application using LINQ and C#." in the Template Description textbox.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        10. Keep other defaults and click on the Finish button.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        11. Using Windows Explorer, open the folder My Documents"Visual Studio 2005"Templates"Project Templates"
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        12. Move the file "LINQ Web Application.zip" to the Visual C#"LINQ Preview subfolder.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        13. Now, to create a new LINQ enabled web application using the user project template.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        14. In the File menu, select "New projectCreating a LINQ Enabled ASP.NET Web application template using C#.[转]"
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        15. Select the Visual C#"LINQ Preview node in the left tree view
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        16. Select LINQ Web Application using C#.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        17. Name your web application project and click OK.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]        18. Happy LINQing with Web Application.
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]      Three cheers to Hector Cruz post on forums.microsoft.com to show how to create ASP.NET Web Application using LINQ and VB.NET 9.0 Preview (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=296346
&SiteID=1)
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]
Creating a LINQ Enabled ASP.NET Web application template using C#.[转]

相关文章:

  • 2021-09-14
  • 2022-01-03
  • 2021-09-19
  • 2021-06-20
  • 2022-12-23
  • 2021-12-06
  • 2021-12-24
  • 2021-06-28
猜你喜欢
  • 2022-12-23
  • 2021-07-21
  • 2021-07-28
  • 2021-07-09
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案