How to set more than one html table in an aspx page in different alignments?
I am having 5 table which I need to show in one page.
For that I have to show 2 tables in one row and other 3 in second row.
Is it possible to do this in C#? 开发者_如何学COr is there any other way to do fulfill requirement of getting so many input form user and not show so many tables in page and make it ugly
I' not quite sure about what you mean. You can put these tables into another table as their container. Are your tables look like as belows:
<table>
<tr>
<td colspan="3">
<table id="table1" />
</td>
<td colspan="3">
<table id="table2" />
</td>
</tr>
<tr>
<td colspan="2">
<table id="table3" />
</td>
<td colspan="2">
<table id="table4" />
</td>
<td colspan="2">
<table id="table5" />
</td>
</tr>
</table>
You can. Just use HTML to add it onto your aspx page like you would on a normal html page.
Open your ASPX page in Visual Studio, then down the bottom left of the screen you'll see 'source', click on that and add the tables in like a normal html page. You may need to add some CSS to the tables to make them stay on the one line.
精彩评论