ASP NET Questions

Q.  Which file you should write for the connection string, so that you can access it in all the web pages for the same application?

a. In App_Data folder
b. In Web.config file
c. In MasterPage file
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  If a user wants to create controls at runtime which event should be used to write code?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How will you add a TextBox control at runtime on the form? Choose the correct one.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You are creating an ASP.NET application for company CareerRide. You use form based authentication to validate users. You need to prevent unauthenticated users from accessing the application. What should you do?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If any user has disabled cookies in their browsers, what can you do to enable them to use forms authentication?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What is the use of VaryByParam attribute in OutputCache directive?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You need to programmatically configure page output caching. Which object would you use?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which control is required inside a content page to reference ContentPlaceHolder control inside the master page?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  At which level Theme can be applied?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  When user request a web page by entering Uniform Resource Locator (URL) then which method /verb/command is used in ASP.NET?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  HTTP messages are typically sent between the Web server and Web browser using which Port number?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What type of data can Cookies store?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What are the different types of Session Mode in ASP.NET?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which validation control in ASP.NET can be used to determine if the data is entered into a TextBox control is of type Currency?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  CompareValidator control can be used for performing which task?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You want to enable Page Output Caching in ASP.NET. What code you will write in ASPX page.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How many types of Cache Dependencies are available in ASP.NET?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  You use the ASP.NET Web Site Administration Tool to configure ASP.NET membership with forms authentication. What should you name your login form so that you do not have to modify the Web.config file?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What are the three main objects of DataSet?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  On what object would you set the properties to create a primary key for a DataTable?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How many 'ScriptManager' control can be added on a ASP.NET web page?
Category: Computer Science MCQs,   Published by: T-Code Scripts