Google News
logo
ADO.NET - Quiz(MCQ)
Code snippet for having a named instance of SQL Server would be___________
A)
Server=host\sqlexpress
B)
Server=localhost\sqlexpress
C)
Server=local\sqlexpress
D)
Ser=localhost\sqlexpress

Correct Answer :   Server=localhost\sqlexpress


Explanation : An instance of the SqlConnection class in .NET Framework is supported by the Data Provider for SQL Server Database.

Advertisement