Friday, 1 March 2013

Dynamically add HTML (div / table / all HTML ) element using ASP.Net and C#

Solutions 1:  

HtmlGenericControl mydiv=new System.Web.UI.HtmlControls.HtmlGenericControl("div");
mydiv.Style.Add(HtmlTextWriterStyle.MarginLeft,"360px"); 

No comments:

Post a Comment