Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.



accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) ..

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

Post New Answer

More ASP.NET Interview Questions

1. Briefly describe your ideal job?

1 Answers   Swatz Oils, Swetz Oil,


How does output caching work in ASP.NET?

0 Answers  


Difference between .NET components and COM components?

2 Answers   Microsoft,


Why we use asp.net for website development?

0 Answers  


Diff B/W user control and server control

3 Answers  


public key?

1 Answers   Microsoft,


How can we identify that the page is post back in asp net?

0 Answers  


How can u handle Un Managed Code Exceptions in ASP.Net?

1 Answers   Lara Technology,


Types of caching. How to implement caching?

2 Answers   Microsoft,


What is application and session in asp.net?

0 Answers  


What is ispostback method in asp.net?

0 Answers  


What are Http handler ?

6 Answers   Accenture, BirlaSoft, Satyam, Syntel,


Categories