Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法以编程方式创建<DIV>以获得属性 innerHtml?
<DIV>
HtmlGenericControl div = new HtmlGenericControl("div");
我怎样才能得到div.innerHTML?
div.innerHTML
这不起作用:
div.InnerHtml = "<b>hello</b>";
MSDN 文档