ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
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.
 Question Submitted By :: Sivaram
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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
Joy Ghosh
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Can you explain what inheritance is and give an example of when you might use it?  1
What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?  1
How to convert a string into an Integer in ASP.net?  6
What is smart navigation?  1
How can we Maintain more than on config file in one .Net web application and how? USi1
How many Garbage Collectors are there for one Application or one Page Emphasis1
Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept? Take-United2
I have to send data throug querystring from one page to another. But it should not be displayed in URL. How it is possible? EMR5
What is reflection and disadvantages of reflection ? Microsoft1
Explain what a diffgram is, and a good use for one?  1
My website has around 100 aspx. Out of this, a certain 20 aspx files should be made available to the users only if they are logged in. How can I achieve this with the web.config file? Techno-Solutions1
is it possible to persiste customize object in view state? how it is?  2
How do you perform validations ? Microsoft1
Name two properties common in every validation control?  6
Types of session management in ASP.NET ? Microsoft2
Singleton Design pattern?How do you achieve it? Microsoft2
What is viewstate? Microsoft4
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application???? Sparsh6
difference between gridview,data list and repeater control Olive-Tech4
what is caching? Microsoft2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com