Where do I find a SQLException number reference?

Where do I find a SQLException number reference?

I'm building the error handling in our database layer, and need to translate some errors to understandable text for the end users.




VPuserAsked:
Who is Participating?
 
DhaestCommented:
You can find these in System.Data.SqlClient.TdsEnums using Reflector.
0
 
VPuserAuthor Commented:
But how would you build a switch statement with these values?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.