When defining the Page Structure in the third tutorial, we added several start pages in the BasicReporting, Filtering, and CustomFormatting folders. we have not added the start page for this tutorial, and added two pages in the Filtering Folder: SupplierListMaster. aspx and ProductsForSupplierDetails. aspx. supplierListMaster. aspx will list the primary record (supplier) ProductsForSupplierDetails. aspx will display the products of the selected supplier.
When creating these two ASP. NET pages, be sure to associate them with the Site. master page.
Add ASP. NET page: Add SupplierListMaster. aspx and ProductsForSupplierDetails. aspx under the Filtering folder.
After adding two files to the project, make sure that the website map file Web. sitemap is updated accordingly. For this tutorial, simply use the following XML content as the child node of the element.
Tip: using K. Scott Allen's free Visual Studio Site Map Macro can help you automatically update the Site Map when adding the asp.net page.
- ASP. NET 2.0 data Tutorial: Add An aspx page to a site
- ASP. NET 2.0 data Tutorial: Create a master page
- ASP. NET cross-page value passing skills
- ASP. NET 2.0 data Tutorial: add custom encoding to DAL
- ASP. NET 2.0 data Tutorial: completes the data access layer