Library tutorials & articles
Creating a Master-detail page
By Thomas Johansen, published on 24 Mar 2004
Page 1 of 3
- Introduction
- Getting Started
- The Master Detail Code
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
Repeatercontrol for the 'Categories' table. - A
Repeatercontrol for the 'Products' table. - We also need a relationship between the two tables.
Related articles
Related discussion
-
sharepoint calendar web part with events from sql table
by tukubapi2207 (1 replies)
-
Using FedEx Web Service to Calculcate Shipping Cost
by bhora123 (4 replies)
-
Very Urgent regarding deleting the images from a folder
by rameshbandi (2 replies)
-
Dynamically Generating PDFs in .NET
by nike12 (10 replies)
-
New style of Javascript used in extenders.
by mittalpa (0 replies)
Related podcasts
-
StackOverflow uses ASP.NET MVC - Jeff Atwood and his technical team
Scott chats with Jeff Atwood of CodingHorror.com and most recently, StackOverflow.com. Jeff and Joel Spolsky and their technical team have created a new class of application using ASP.NET MVC. What works, what doesn't, and how did it all go down?
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
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!
This thread is for discussions of Creating a Master-detail page.