Can anyone tell me where I can find an example of a datgrid formatted to show a single record on more than 1 row.
For example I would like to show "Employee Name" in the first row with the "Address1" field underneath.
Any Ideas folks ?
Printable View
Can anyone tell me where I can find an example of a datgrid formatted to show a single record on more than 1 row.
For example I would like to show "Employee Name" in the first row with the "Address1" field underneath.
Any Ideas folks ?
not sure about datagrids as i usually tend to use repeaters but with a repeater it can be achieved like this.....
Code:<asp:Repeater ID="rpt1" Runat="server">
<HeaderTemplate>
<table>
<tr>
<td>Names and address</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><%# databinder.eval(container, "dataitem.name") %></td>
</tr>
<tr>
<td><%# databinder.eval(container, "dataitem.address") %></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
Thanks Fishcake but I want to implement paging which to the best of my knowledge is a damn site easier with a grid.
On saying that, I'll keep it in mind.