Site Search

CS 351: Lab 4

Three-Tier Architectures

  1. Start up Visual Studio 2005 and create a new ASP.NET Web Site named U:\Labs\nnLab4 where nn is your cs351 account number.
  2. Add an App_Code folder with two subfolders: DAL and BLL
  3. Download the following code into your folders
  4. Copy an existing or create a Lab4.mdf database on your desktop using the stored procedures from Day 15
    • Remember to add and modify a Web Configuration file

Lab 4 Assignment

On the Default.aspx page, you will need to add the HTML and ASP controls to

  1. Using the BLL classes, display a heading followed by gridview for each of the entire content of each of three tables
    • Products
    • Orders
    • PrderItems
  2. Display a drop down list with the product names followed by a gridview filled with the OrderItem details for the selected product
  3. Display a drop down list with the order IDs followed by a gridview filled with the OrderItem details for the selected order



Early Finishers

To Receive Credit

Lab 4 is an in-class assignment begun on Wednesday and due by the start of class on Friday

Screen Snapshot

lab4 screen snapshot