How to remove Code in runtime.

Posted by Jayakumars under ASP.NET on 10/31/2011 | Points: 10 | Views : 1196 | Status : [Member] [MVP] | Replies : 1

I need how to Remove my html code from aspx page in Runtime how will do
this:-> here i need remove below code </html> after code i need remove how
will do this.

below my code:

Test Records

Mark as Answer if its helpful to you
EmailId :


Posted by: Blessyjees on: 10/31/2011 [Member] Bronze | Points: 25


You can set div content at the runtime.

add div like
<div id="dynamicDiv" runat="server">


Enter code in the cd file
string htmlData = "<h1> test</h1>";

this.dynamicDiv.InnerHtml = htmlData;

Blessy Baby
Digitalmesh Softech pvt Ltd

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response