如何在C#中添加HtmlTable [英] How to add HtmlTable in c#
本文介绍了如何在C#中添加HtmlTable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好朋友,请帮助我在c#
Hello friends please help me to add a HtmlTable in c#
推荐答案
中添加一个HtmlTable问题尚不清楚,但我假设您要动态创建HTML表使用C#
选中此 [
The question is not clear but i''m supposing that you want to make HTML table dynamically using C#
Check this[^]
OR try this
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>
以下链接可能对您有帮助
C#中的HTML表
The following link may help you
HTML Table in C#
请参阅此
http://www.java2s.com/Tutorial/ASP.NET/0080__HTML-Controls/动态地创建HTMLtableC.htm [ ^ ]
和这个线程
http://stackoverflow.com/questions/4802288/create- html-table-from-a-list-in-c-sharp [
refer this
http://www.java2s.com/Tutorial/ASP.NET/0080__HTML-Controls/DynamicallycreateaHTMLtableC.htm[^]
and this thread
http://stackoverflow.com/questions/4802288/create-html-table-from-a-list-in-c-sharp[^]
这篇关于如何在C#中添加HtmlTable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文