accessing a textbox that was created dynamically?
for (int i = 0; i < t1; i++)
{
TextBox t2 = new TextBox();
t2.ID = "adf" + i;
PlaceHolder1.Controls.Add(t2);
}
accessing data entered in the above created controls.
Answer / joy ghosh
for (int i = 0; i < t1; i++)
{
TextBox t2 =(TextBox) PlaceHolder1.FindControl("adf" + i);
string str=t2.Text;
}
Is This Answer Correct ? | 0 Yes | 1 No |
What are the features of asp.net mvc?
explain store procedure and trigger
What is difference between session and application in asp net?
Where sessions are stored in asp.net?
What is razor? : asp.net mvc
What r the asp.net list controls and diff. Between them?
How to rename a table using sql queries?
Difference between Response.redirect vs server.transfer?
Is It Possible For Whole Page is Saved In View State? What Is View State?
2 Answers Phoenix Technologies,
What is the displayafter property in updateprogress control?
What is Serilazation? how many type of serilazation are their?
Advantage of data Reader?