nerdexam
Microsoft

70-516 · Question #190

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You must retrieve a connection…

The correct answer is D. string connectionString =. CHAPTER 2 ADO.NET Connected Classes Lesson 1: Connecting to the Data Store Storing the Connection String in the Application Configuration File (page 75)

Implementing Data Access

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You must retrieve a connection string. Which of the following is the correct connection string?

Options

  • Astring connectionString =
  • Bstring connectionString =
  • Cstring connectionString =
  • Dstring connectionString =

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    9% (3)
  • C
    12% (4)
  • D
    76% (25)

Explanation

CHAPTER 2 ADO.NET Connected Classes Lesson 1: Connecting to the Data Store Storing the Connection String in the Application Configuration File (page 75)

Topics

#connection string#SqlConnection#configuration

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice