Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Formatted list with a datagrid next to it.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mufasa - 22 Oct 2007 13:15 GMT
I've got a table with rows in it. I then have detail records that goes with
that row. What I'd like ideally is to have a list of data on the left with a
table/grid/view/... on the right with the detail information.

Any way I can do this?

TIA - Jeff.
Mike Placentra II - 22 Oct 2007 20:37 GMT
You can put a GridView control on the left, and a DetailsView to the
right of it. You can feed them with individual SqlDataSource controls,
and in the one for the DetailsView use a ControlParameter to get the
SelectedValue property of the GridView control (GridView needs the
DataKeyNames property set to the ID of the data). This can all be done
(so far) graphically using Visual Studio (or similar).

I found a related quickstart. Try the second to last sample.
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/detailsview.aspx

-Michael Placentra II

> I've got a table with rows in it. I then have detail records that goes with
> that row. What I'd like ideally is to have a list of data on the left with a
[quoted text clipped - 3 lines]
>
> TIA - Jeff.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.