Posted on: 11/17/2012 12:48:31 AM | Views : 352

Hi i posted my code below.
for (int i = 0; i < dt.Rows.Count; i++)
{
divTemplate = divTemplate + "<span class='form-element'><label>"+ dt.Rows[0]["labelname"].ToString()+ "</label>";
if (dt.Rows[0]["type"].ToString() == "T")
{
TextBox txt = new TextBox();
txt.ID = txt + i.ToString();
divTemplate = divTemplate + txt + "</span>";
}
}


I want to display a textbox inside the span. Im getting the namespace name in that area. Please give your ideas


...

Go to the complete details ...