Hi Peter,
Welcome to ASP.NET newsgroup.
As for this issue, I've actually seen your previous post in the following
classic ASP group:
microsoft.public.inetserver.asp.general
I've already posted reply there(I also forgot that it's specific to classic
ASP

)
For your convenience, I'll paste my reply there below:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
From your description, you're looking for some advice on developing an
ASP.NET data driven web page. let me first confirm my understanding of the
page you want to create:
** have a treeview on the left side
** on the right side, it is separated by top and bottom section.
-- top section will contains a List of data records from database
-- when user select a certain record in the List within top section ,
buttom section will display the detail info of that selected record.
Is the above understanding matchs your idea?
If so, I think it is like a Master-Details data display page. For the main
page layout, you can use a html <table> element to structure the layout. A
two column table, the TreeView in left cell while the other part(top and
bottom section in the right cell).
Then, in the right cell, you can use a Gridview and DetailsView control to
display the Master-Details data information. Here is a sample page in the
asp.net quickstart:
#Gridview + DetailsView sample page
http://quickstarts.asp.net/QuickStartv20/aspnet/samples/data/GridViewMasterD
etails_cs.aspx
this sample page display records list in a Gridview , then whenever you
select a record in Gridview, it will display details information in a
DetailsView on the right side. We can also easily change it to a
top/bottom layout page.
Here are more examples about gridview and detailsview in quickstart
tutorial:
#DetailsView
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/detailsview
..aspx
And you can find more samples in the ASP.NET data access turtorial which
introduce more common ASP.NET data access page designing scenarios:
#Data Access Tutorials
http://www.asp.net/Learn/data-access/
If you have any further specific questions on implementing the page or the
data access code, please feel free to post here.
If you have any questions, welcome to followup here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------