【发布时间】:2011-02-06 15:51:10
【问题描述】:
当我尝试将存储在字符串中的特定 html 数据设置到 webbrowser 中时,会出现此消息而不是 html 内容
System.Windows.Forms.HtmlDocument
我的代码是:注意 html 代码存储在 temp_data 中
this.main_webpage.Navigate("about:blank");
HtmlDocument d_c = main_webpage.Document;
d_c.Write(temp_data);
main_webpage.DocumentText = d_c.ToString();
main_webpage.Refresh();
【问题讨论】:
标签: c# navigation browser