Hi Chris,
Based on my understanding, you want to do databinding to your datagrid
control, and wrap some columns to another row.
Actually, datagrid control did not expose such flexibility, but you still
can get what you want through Repeater control, do like this:
<asp:repeater id="Repeater1" runat="server">
<HeaderTemplate>
<table border="1" cellpadding="0" cellspacing="0">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><%#DataBinder.Eval(Container.DataItem, "job_id")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "min_lvl")%></td>
<td><%#DataBinder.Eval(Container.DataItem, "max_lvl")%></td>
</tr>
<tr>
<td><%#DataBinder.Eval(Container.DataItem, "job_description")%></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:repeater>
Please apply my suggestion to see if it works for you.
Thanks,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.