Datagrid and show data over two columns
I use this to show the data from the db, but I would like that there are two records per row instead of one as is now. How can I do this....
<asp:TemplateColumn>
<ItemTemplate>
<table border="0" cellpadding=1 cellspacing=0>
<tr>
<td><a href="<%#DataBinder.Eval(Container.DataItem, "bookmark_url")%>"><img border=none src="<%#DataBinder.Eval(Container.DataItem, "bookmark_image")%>" /></a></td>
<td> <a href="<%#DataBinder.Eval(Container.DataItem, "bookmark_url")%>"><%#DataBinder.Eval(Container.DataItem, "bookmark_name")%></a></td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateColumn>
Start your free trial to view this solution
Zone:
Programming
Question Asked By:
GaryC123
Question Asked On:
05.09.2008
Participating Experts:
0
Points:
125
Views:
0
Translate:
20080206-EE-VQP-25 / EE_QW_2_20070628