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).

AddThis

Related podcasts

  • CodeCast Episode 4: State of .NET, IE8, ASP.NET MVC, and O'Reilly Media

    CodeCast Episode 4: State of .NET, IE8, ASP.NET MVC, and O'Reilly MediaHosts Ken Levy and Markus Egger discuss the new State of .NET events, IE8, ASP.NET MVC, followed by an interview from PDC with two editors from O'Reilly Media. More on ASP.NET MVC can be found at http://asp.net/mvc. Interview...

Related jobs

Events coming up

  • Dec 9

    Internet Information Services 7.0 for ASP.Net Developers

    Glasgow, United Kingdom

    One of the biggest and best new features of Windows Server 2008 and Windows Vista is Internet Information Server 7.0.  IIS 7.0 is the latest and most significant release of Microsoft's Web Server. With this release comes a new extensibility model which gives developers more options than ever before, more diagnostic tools with which developers can debug and locate issues. During the session Andrew will investigate the new architecture, look at extending, configuring and developing for IIS7, ta...