VSM - April 2003 Getting Started column
Bind XML Data in ASP.NET
Stan Schultes - stan@vbnetexpert.com

The sample code for this column includes the XmlWeb project, which runs in IIS on Windows 2000, XP, or .NET. 

To load the sample code on your machine, you must have the .NET Framework Release version or later installed. Create a physical directory on your machine for the project (ex: c:\inetpub\wwwroot\xmlweb), and a \content subdirectory. In Internet Services Manager, create a new Virtual Directory pointing to the new physical directory (ex: xmlweb). Unzip the sample files into your new physical directory. If you didn't use virtual directory xmlweb, open the file xmlweb.vbproj.webinfo in notepad and change the path to the one you did use. Start VS.NET and open the xmlweb.sln solution file. 

To run the sample shown in Figure 1, right-click on articles.aspx and choose Set as Start Page from the pop-up menu. To run the sample shown in Figure 2, right-click on webform1.aspx and choose Set as Start Page from the pop-up menu. Run the project by pressing F5.

If you want to create a new project and follow along, create a directory to use for your web project (ex: c:\inetpub\wwwroot\xmlweb). Start VS.NET and create a new project of type ASP.NET Web Application. In the New Project dialog, type in the desired web location (ex: http://localhost/xmlweb) and click the OK button. Right-click on the WebForm1.aspx designer surface and choose Properties. Choose the FlowLayout item in the Page Layout combo box and click OK. 
Create a \content subdirectory below your project directory and put your .xml files there. You can change the location for the .xml files by editing the project web.config file.
