c# webcontrol - how to load a html on the fly?

前端 未结 1 1458
面向向阳花
面向向阳花 2021-01-20 01:20

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 n

相关标签:
1条回答
  • 2021-01-20 01:32

    You're looking for the DocumentText property.
    Note that it's asynchronous; the content will not necessarily loaded when your next line of code runs.

    0 讨论(0)
提交回复
热议问题