W
_Who
In the .aspx I have
<p runat="server" id="qq" > </p>
and in the aspx.vb I have
Protected Sub qq_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Handles qq.Init
strContents = "<h1>QQQQQQ</h1>"
qq.InnerText = strContents
End Sub
But this produces as text
<h1>QQQQQQ</h1>
The tags are treated as text.
How can I insert HTML markup that is interpreted as such?
Thanks
<p runat="server" id="qq" > </p>
and in the aspx.vb I have
Protected Sub qq_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Handles qq.Init
strContents = "<h1>QQQQQQ</h1>"
qq.InnerText = strContents
End Sub
But this produces as text
<h1>QQQQQQ</h1>
The tags are treated as text.
How can I insert HTML markup that is interpreted as such?
Thanks