Using the RepeatLayout.Table simply puts the contents of each ItemTemplate into a single table cell in one row.
You could either wrap the whole datalist inside of a <table>, then make the ItemTemplate write the <tr> and <td>s for each desired column, or (and this would much simpler) use the DataGrid control. You can trim down a datagrid to only show the data, and it draws everything into a table by design.
Peter
------------------------------------------------------
Work smarter, not harder.
|