Click here to Skip to main content
15,890,350 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a report screen in which i have to show the records like below :

this below table is created using html table (htmltablerow and htmltablecell)in vb.net
---------------------------------------
1st row | has row 1 here
1st row | has row 2 here
---------------------------------------
2nd row | has row 1 here
2nd row | has row 2 here
---------------------------------------

so any one have idea how to do this.

any help appriciated
Posted
Updated 23-Oct-15 20:30pm
v3
Comments
Krunal Rohit 23-Oct-15 9:25am    
That is called nested tables. Create a table inside a td.
Do something like,
<pre lang="HTML"><table>
<tr>
<td>
<table>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table></pre>

-KR
ketan chandpa 23-Oct-15 9:36am    
thanks for comment but i am generating the table from code behind sorry i forgot to mention this using html table row and cell.

so any idea about this how to do this
jgakenhe 24-Oct-15 0:39am    
You need to PIVOT the dataset.

http://www.codeproject.com/Tips/500811/Simple-Way-To-Use-Pivot-In-Sql-Query
ketan chandpa 24-Oct-15 0:54am    
thanks for comment but i think u still not getting my question.

i dont want to pivot the row i want multiple rows within the same single row

like suppose first row in table has two another row than that both another row should be in same line and when first row of both another row is over than the second row should be started from the starting point of the sub row that is first row.
Patrice T 24-Oct-15 2:59am    
Not clear what you want to do.
Improve your question with details.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900