G
Guest
Hi,
I have a dataset that contains product data in the following format:
ProdID ProdName Price
1 Laptop $2000
2 Mouse $30
3 Webcam $100
4 DVD-RW $2
Instead of having the entries just displayed in rows in a DataGrid, I'd like
to arrange them in a table of 3 columns like this:
<table>
<tr>
<td>Laptop<br>$2000</td>
<td>Mouse<br>$30</td>
<td>Webcam<br>$100</td>
</tr>
<tr>
<td>DVD-RW<br>$2</td>
<td> </td>
<td> </td>
</tr>
</table>
How can I do this with the Data Controls? How can I make sure that the empty
cells in the last row are still created?
WB.
I have a dataset that contains product data in the following format:
ProdID ProdName Price
1 Laptop $2000
2 Mouse $30
3 Webcam $100
4 DVD-RW $2
Instead of having the entries just displayed in rows in a DataGrid, I'd like
to arrange them in a table of 3 columns like this:
<table>
<tr>
<td>Laptop<br>$2000</td>
<td>Mouse<br>$30</td>
<td>Webcam<br>$100</td>
</tr>
<tr>
<td>DVD-RW<br>$2</td>
<td> </td>
<td> </td>
</tr>
</table>
How can I do this with the Data Controls? How can I make sure that the empty
cells in the last row are still created?
WB.