Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have to catch system exceptions and Sql exceptions and have to display my own exceptions to users. Instead of using a table to store error message and error id, have to use Resourse file in my windows application. Can anyone give an idea to do this.

<b>Sql exception number My exception number my message to user</b>
411 1 Invalid Value
415 2 Empty values not allowed
417 3 DB not connected
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900