如何使用c#在Web浏览器中运行html文本(即)? [英] how run html text in web browser (ie) with c#?

查看:84
本文介绍了如何使用c#在Web浏览器中运行html文本(即)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我的richtextbox中有一些文字。此文本是抓取后任何网站的响应,此文本是HTML代码。

然后我想在浏览器defult中运行这个html源代码,例如ie等。



如何在web浏览器中运行html文本(即)?

解决方案

您好b $ b

尝试将HTML代码放入div的内部html中。

Hello!
I have some of text in my richtextbox. this text is response of any site after crawle and this text is html code.
then i want to run this html source in browser defult for example ie and etc.

how run html text in web browser (ie) ?

解决方案

Hi
Try to put the HTML code in a div''s inner html.


这篇关于如何使用c#在Web浏览器中运行html文本(即)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆