GIAC
GSSP-NET · Question #208
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are developing the data access component that all applications in…
The correct answer is B. string connectionString =. See the full explanation below for the reasoning.
Question
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are developing the data access component that all applications in your company intranet will use to access Microsoft SQL Server. You must include code to correctly catch and iterate through any number of errors that could be encountered when connecting to SQL Server. Which code segment should you choose?
Options
- Astring connectionString =
- Bstring connectionString =
- Cstring connectionString =
- Dstring connectionString =
How the community answered
(41 responses)- A10% (4)
- B83% (34)
- C2% (1)
- D5% (2)
Community Discussion
No community discussion yet for this question.