in Example.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
teste0989.InnerText="teste123<br>teste456<br>"
}
in the site appears the br as text and actually wanted to enter some suggestion
in Example.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
teste0989.InnerText="teste123<br>teste456<br>"
}
in the site appears the br as text and actually wanted to enter some suggestion
I think what you are looking for is this:
protected void Page_Load(object sender, EventArgs e)
{
teste0989.InnerHtml="teste123<br>teste456<br>"
}
InnerText
already escapes special characters so they are displayed as text. The solution is to change% w / w%.