Hi,
I have a datalist that has two repeating columns.
I need to have both columns in just one table as I am using a background image for the table and need it to span across both columns.
So I need something like this (psuedo ish code):
So the end result would look something like this:Code:<asp:DataList id="DataList1" runat="server" RepeatDirection="Horizontal" RepeatColumns="1" RepeatLayout="Table" OnItemDataBound="DataList1_OnItemDataBound" Width="780px"> <ItemTemplate> <table border=1 height="192px" width="780px" class="galleryslash" cellpadding="5"> <tr> <td><%# DataBinder.Eval(Container.DataItem, "title1") %><!--first record--></td> <td><%# DataBinder.Eval(Container.DataItem, "title2") %><!--next record--></td> </tr> <table> </ItemTemplate>
html example
Any ideas how I can achieve this?
Thanks
F




Reply With Quote