ASP NET Questions

Q.  You are a Web developer for CareerRide. The data is stored in a Microsoft SQL Server 2005 database on a server named CareerPC and the Database name is TestDB. You connect to TestDB by using Windows Integrated authentication. You use a SqlConnection object to connect to the database. You need to create a connection string to TestDB in the instance of SQL Server named CareerPC. Which string should you use?

a. “Data Source= CareerPC; Database=TestDB; Integrated Security=SSP1”.
b. “Data Source= CareerPC; Initial Catalog=TestDB; Integrated Security=SSP1”.
c. “Server= CareerPC; Database=TestDB; Integrated Security=SSP1”.
d. All of the above.


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  If you want to validate the email addresses, Social Security numbers, phone numbers, and dates types of data, which validation control will be used?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  When should you use the OleDbConnection object?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In a SQL Statement while working with SqlCommand it returns a single value, at that time which method of Command Object will be used?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  According to the given below statements, choose the correct option. Statement 1: Application caching is the process of storing data (and not pages) in a cache object. Statement 2: Page output caching stores a rendered page, portion of a page, or version of a page in memory. Statement 3: Caching reduces the time required to render cached page in future requests.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which LINQ statement defines the range variable in a LINQ query?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which query expression is used to limit the number of results?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which interface defines the basic extension methods for LINQ?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What LINQ expressions are used to shape results in a query? 1. where 2. select 3. join 4. group
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What types of shapes can LINQ query results be shaped into? 1. Collections of primitive types 2. Collections of complex types 3. Single types 4. Collections of anonymous types
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which LINQ statement is used to merge two data sources to perform queries?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which LINQ keyword is used to categorize results in a query?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following statements is true?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  LINQ query can work with?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  How you can merge the results from two separate LINQ queries into a single result set.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following objects represents a LINQ to SQL O / R map?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  What is lamda expression? 1. Anonymous function 2. Can be used to create delegates 3. Named function 4. None
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Choose the correct one
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Choose the correct one.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Choose the correct one
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Choose the correct option.
Category: Computer Science MCQs,   Published by: T-Code Scripts