Avatar of Pepe102598
Pepe102598
 asked on

Layout in DetailsView

Hello,
i am developed an aspx page using asp.net 2.0
This page contains a detailsview control with 43 bound fields. By default, the detailsview control shows the data in a unique column, ¿how can i show the data in several columns?
Now the data is diplayed:

Id     txtId                            
Name   txtName  
Telephone   txtTelephone              
Adress   txtAdress

I would want to diplay the data:

Id     txtId                      Telephone   txtTelephone      
Name   txtName           Adress   txtAdress
               
The property AllowPaging is not a solution for me.

thanks a lot.
ASP.NET

Avatar of undefined
Last Comment
arhame

8/22/2022 - Mon
Bob Learned

Use the GridView, instead of the DetailsView.  The GridView shows data in columns, rather than rows.

Bob
Pepe102598

ASKER
i am already using gridview with detailsview. in the gridview shows all rows and when clicks above any row i show the data for this row in the datailsview control. For this, i need to display the data of the detailsview in serveral columns
Bob Learned

Use another GridView.

Bob
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
arhame

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.