开发者

wp7 Display string in webbrowser or otherway?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜