Either a DataList or DataGrid would do..
Personally I prefer datagrids myself.
In DataGrid, then use the TemplateColumn... just specify the proper bindings
in the ItemTemplate & EditTemplate sections of the grid.
A quick example would be as follows...
<asp:datagrid id=dgSearchResult runat="server">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
CustomerNum: <b><%# DataBinder.Eval(Container.DataItem,
"customerNum")%>)</b><br>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox runat="server" Text='<%#
DataBinder.Eval(Container.DataItem, "customerNum") %>'>
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>
So, you could have a nested table in the ItemTemplate & EditItemTemplate
sections...
Regards,
Noel Hoo
noelh@imaNgOe-ScPeAnMtre.com
[quoted text, click to view] "Ryan" <ryanmoore@hotmail.com> wrote in message
news:0db201c33bed$c56dc820$a301280a@phx.gbl...
> Is there any way to make a datagrid display its data
> vertically? I have a table with about 40 columns which I
> would like to put in a grid of some sort for editing, but
> in the standard datagrid, it stretches way beyond the
> screen. I'd like to display the data, one record at a time
> with the database columns listed vertically on the screen.
> Is there an easy way to do this? A DataList perhaps?
>
> thanks