Clearing WebBrowser

Hi,
How do I clear the content of the webbrowser in a windows application form? I use it to display excel report in my windows application form and I have assigned a button to clear the content of the webbrowser.
Regards,
Erdem
operatortobeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
joechinaConnect With a Mentor Commented:
Have you tried ?

yourbrowsercontrol.DocumentText = "";
0
 
operatortobeAuthor Commented:
Thanks a lot :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.