开发者

A Problem To Manage SqlExceptions in C#

I want to write a class to manage sqlexceptions. This class w开发者_如何学Pythonill display a message in my language for each sqlexception.

But how can i gather all error codes or part of error codes that occur more than others?


You can get the information with the SQL Query SELECT * FROM sysmessages

More info and a list of error codes here: http://technet.microsoft.com/en-us/library/cc917589.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜