GIAC
GSSP-NET · Question #267
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 D. string connectionString =. Topic 3, Volume C GIAC GSSP-.NET Exam
Error Handling, Logging, and Cryptography in .NET
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
(49 responses)- A10% (5)
- B4% (2)
- C2% (1)
- D84% (41)
Explanation
Topic 3, Volume C GIAC GSSP-.NET Exam
Topics
#SqlException#SQL Server error handling#SqlError collection#exception iteration
Community Discussion
No community discussion yet for this question.