ASP NET Questions

Q.  How will you add a TextBox control at runtime on the form? Choose the correct one.

a. TextBox obj = new TextBox(); obj.ID = "txtUserName"; form1.Controls.Add(obj);
b. form1.Controls.Add(TextBox);
c. this.FindControl.add(TextBox);
d. None of the above.


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  What is Multiple Active Result Sets (MARS)?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which Data Provider gives the maximum performance when connect to SQL Server?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What property do you modify on a server control to minimize the size of the ViewState data?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What are the client-side state management options that ASP.NET supports?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which Session Mode stores session Information in Current Application Domain?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  By default, when you use Page Output Caching, at what location page is cached?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Debug class is available in which namespace?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  A Master Page contains a ScriptManager control and a user wants the AJAX functionality on content page then which control is necessary on content page?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You are writing a page that contains an UpdatePanel for partial-page updates. You want that user should get the message “Processing is going on, please wait.” that the update is processing only if the update takes longer than 5 seconds. Which actions should you take?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is a valid skin code inside a skin file?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which ADO.NET class provide Disconnected Environment?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which ADO.NET class provide Connected Environment?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In ASP.NET application DLL files are stored in which folder?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What types of data can you store in the Cache collection?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How many types of parameter supported by OutputCache?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You want to secure the connection strings contained within your Web.config file to ensure that no one can open the file easily and see the connection information. Which tool must you use to encrypt the connection strings?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What are the three primary kinds of parameters are used while working with the Stored Procedure in ASP.NET?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How do you execute multiple SQL statements using a DataReader?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  When a User’s Session times out which event should you respond to?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  A web page has lots of input data, and you want the data input to be spread across multiple screens. What is the best control to implement this solution on a single Web page?
Category: Computer Science MCQs,   Published by: T-Code Scripts