Library tutorials & articles

Creating a Master-detail page

Introduction

In this article I'll show you have you can quite easily make a master-detail page by nesting repeater controls. The data will be taken from the Northwind database, and the two tables we are going to use are 'Categories' and 'Products'.

First off we need to layout our plan, for how we're going to accomplish making this page:

What we need are the following:

  • A Repeater control for the 'Categories' table.
  • A Repeater control for the 'Products' table.
  • We also need a relationship between the two tables.

Comments

  1. 01 Sep 2008 at 08:06
    hi, i am trying to transfer Invoice type,Invoice no and Invoice Date as per given below code But unable to access the value on the second page pls help me how it is possible ' runat="server" > ' runat="server" > ' runat="server" >--%> Example ' runat="server">--%> ">' runat="server">--%> ' runat="server" > ' runat="server" > ' runat="server" > ' runat="server" > ' runat="server" > ' runat="server" > ' runat="server" > ' runat="server" > ' runat="server" >
  2. 22 Apr 2004 at 23:33

    I am trying to test your code, so i found this below error:


    First all:I only put the Code into a web application folder,not user the vs.net to do,but when i try to browse the page,the application error tell me on't load the Masterdetail.masterdeatil,error line's Code is:inherits=Masterdetail.masterdetail.


    Second:I created a solution in vs.net,above the error is losed,but the .aspx page not display the result,why?


    My sql server connection string is right!

  3. 01 Jan 1999 at 00:00

    This thread is for discussions of Creating a Master-detail page.

Leave a comment

Sign in or Join us (it's free).

Thomas Johansen
AddThis

Related podcasts

Want to stay in touch with what's going on? Follow us on twitter!