Merajuddin Ansari

Merajuddin Ansari

  • NA
  • 90
  • 14.9k

Dynamically created textboxes not updating

Feb 21 2016 5:17 AM
Hi,
i have asp.net web application in which i used to generate list of text boxes depend on count in table dynamically.however whenever I load the details I am getting the same output in the TextBox every time.

please help.
 
after generating all controls(TextBox,dropdownlist etc) i am doing this below

TextBox txtRes1 = (TextBox)PlaceHolder1.FindControl("id1");
txtRes1.Text= concat(value1, valu2);

public int concat(strin v1, string v2)
{
return v1+v2;
} 

Answers (11)