I would like to load HTML using c#’s webbrowser component. I looked up MSDN, but I can’t find anything that can load a string(HTML) into webbrowser component. I only see navigate() method to load a URL.
so..I would like to the following if possible
String htmlcontent = "<html><head><title>test</title></head><body>my content here</body></html>";
webBrowser1.load(htmlContent)
something like this..I load that there is no load() method.
You’re looking for the
DocumentTextproperty.Note that it’s asynchronous; the content will not necessarily loaded when your next line of code runs.