Raghu G

Raghu G

  • 1.4k
  • 17
  • 8.4k

Need code for Auto generating colums on depending records

Feb 17 2012 5:51 AM
Here i need code for generating Number of rows and Columns without using grid view .it should generating rows and columns on depending upon records in the database.
For example it should generate 2 rows and 2columns if database contains  2 rows and 2columns of records same 3 rows and 3columns if database contains 3 rows and 3columns of records depending upon records it should display.here we should use only table with rows
for 2rows and 2columns
record
it should create
<table>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<td>
</td>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>



Answers (3)