03.07
The following code will work with the following requirements:
- You are using .NET Framework 2.0
- You already have WebBrowser control added into your Windows Form
public void DisplayHTML(String strHTML)
{
if (strHTML != "")
{
if (this.webBrowser2.Document != null)
{
HtmlDocument doc = this.webBrowser2.Document.OpenNew(true);
doc.Write(strHTML);
}
else
{
this.webBrowser2.DocumentText = strHTML;
}
}
}
Possibly Related Posts







halo2, off topic, nitip notifikasi, link blog ku berubah, sekarang di
http://www.andiewicaksono.com
tengkiyuuuu