Solved

Can DetailsView display multiple rows of data?

Posted on 2006-11-29
2
1,934 Views
Last Modified: 2008-01-09
I'm trying to create a control similar to DetailsView, but I want to display more than one row from a database.  Each row in the first column should display the header value.  Then, each consecutive column should correspond to a database row.  

How can I do this with .NET?

Is there a way to flip the rows and columns of GridView?
0
Comment
Question by:cgipisani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 50 total points
ID: 18039791
If you are bound to a DataTable, then there are ways to create rows from column data.

Bob
0
 
LVL 7

Accepted Solution

by:
vnvk earned 200 total points
ID: 18047599
it is not impossible, but a bit tough. Details view gives the data for one single record.

You may have to come up with a custom control that uses a grid view and detail view controls. Grid view as the main control and the detail view as the inner control for each column.

Object databinding has to be taken care of properly thorugh the code behind.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question