?
Solved

Can DetailsView display multiple rows of data?

Posted on 2006-11-29
2
Medium Priority
?
1,959 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 150 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 600 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

762 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