开发者

wp7 Display string in webbrowser or otherway?

开发者 https://www.devze.com 2023-04-09 13:34 出处:网络
string a=\"hi <p> how </p> are <Br> you?</Br>\"; How can avoid this tags <p> </p><Br> </Br>.
string a="hi <p> how </p> are <Br> you?</Br>";

How can avoid this tags <p> </p><Br> </Br>.

In o开发者_如何学Goutput coming like that : Hi how are you?

If anyone know the answer help me.


You can call NavigateToString to render custom HTML in a WebBrowser control:

string html = "<html><body>hi <p> how </p> are <br /> you?</body></html>";

webBrowser.NavigateToString(html);
0

精彩评论

暂无评论...
验证码 换一张
取 消