Dynamically add icons in the C # web page, and add words on the icon! ! !

zhaozj2021-02-16  81

............

Table myTable1 = new table ();

HtmlTableRow iconrow = new HtmlTableRow (); // insert icon row HtmlTableCell iconcell = new HtmlTableCell (); iconcell.InnerHtml = "342342dfghgfhdfhhggg"; iconrow.Cells.Add (iconcell); mytable1.Rows.Add (iconrow);

......... I use a string instead of icon. How to insert an icon and add a word on the icon!

Thanks Very Much!

转载请注明原文地址:https://www.9cbs.com/read-12334.html

New Post(0)