Click here to Skip to main content
15,910,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating table dynamically in asp.net .In table i m display database value. when i run application it show all database value in same line of td of table which is wrong. i want to display database value in next td of table .
Posted

1 solution

Hi,

Did you mean you want to display each row of data-table as a row of table.
If yes use a for-each in rows of data-table and write the logic of printing data as table inside the loop. So you will get a html table of 10 rows , if you have 10 rows in your data-table.

NB: Post your code for better help

Regards
Sebastian
 
Share this answer
 

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