Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends please help me to add a HtmlTable in c#
Posted
Comments
Prashant Srivastava LKO 18-Jan-12 6:09am    
please elaborate your question

The question is not clear but i'm supposing that you want to make HTML table dynamically using C#


Check this[^]


OR try this
C#
StringBuilder sb=new StringBuilder();
sb.Append("<table>");
sb.Append("<tr>");
//similarly td and closing tags

then save it in an string variable

string table=sb.toString();</tr></table>
 
Share this answer
 
The following link may help you
HTML Table in C#
 
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