|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Datagrid - shown vertically instead of horizontally?I have a page that needs to only show 1 record at a time - but there are many fields - I want to display it vertically instead of hornizonatlly. The headers will run vertically as well. Sort of like this Name : George Address: House Phone : 555-5555 Email : Geo***@nowhere.com Pet : Dog <many more fields> As opposed to Name Address Phone Email Pet <many more fields> data data data data data There is something called Datalist - not sure how to use it - it has an option on it to for vertical or horizontal columns - but only for repeaters. The Datagrid does not have this option. Or is there a better way? Thank, Tmuld Just use a form and populate the text boxes from the selected record.
As you navigate through the datatables repopulate each control. The datagrid is designed to show multiple records. Doug Show quoteHide quote "Tmuld" <tmuld***@spliced.com> wrote in message news:1113318171.026771.319390@g14g2000cwa.googlegroups.com... > Hello, > > I have a page that needs to only show 1 record at a time - but there > are many fields - I want to display it vertically instead of > hornizonatlly. > > The headers will run vertically as well. > > Sort of like this > > Name : George > Address: House > Phone : 555-5555 > Email : Geo***@nowhere.com > Pet : Dog > <many more fields> > > As opposed to > Name Address Phone Email Pet <many more fields> > data data data data data > > There is something called Datalist - not sure how to use it - it has an > option on it to for vertical or horizontal columns - but only for > repeaters. The Datagrid does not have this option. > > Or is there a better way? > > Thank, > > Tmuld > The record has 30 fields.
Would I create 30 textboxes and bind them to each field? And have 30 labels beside each textbox? I was hoping the datagrid could be displayed vertically. But if that what has to be done, that is what has to be done. Thanks, Hi,
Sorry I do not have an example but you want to create a pivot table. Ken ---------------- "Tmuld" <tmuld***@spliced.com> wrote in message I have a page that needs to only show 1 record at a time - but therenews:1113318171.026771.319390@g14g2000cwa.googlegroups.com... Hello, are many fields - I want to display it vertically instead of hornizonatlly. The headers will run vertically as well. Sort of like this Name : George Address: House Phone : 555-5555 Email : Geo***@nowhere.com Pet : Dog <many more fields> As opposed to Name Address Phone Email Pet <many more fields> data data data data data There is something called Datalist - not sure how to use it - it has an option on it to for vertical or horizontal columns - but only for repeaters. The Datagrid does not have this option. Or is there a better way? Thank, Tmuld I found an example on the a web page. The guy who did this - SMART!
http://www.c-sharpcorner.com/Code/2003/July/NavigationSystemInASPNet.asp What is a pivot tabel and is it available with VS 2003? Thanks, Tmuld.
ASCII lookup table
Datagrid resizing rows on sort - not wanted complex grid with comboboxes Reading from a ini-file and run a program Easy one about web forms How do I measure the time it takes to copy a file? step by step guide to databinding? Positioning a Web Control - Runtime form location Datagrid 's TextBox input format question. |
|||||||||||||||||||||||