Hi every one,
can any one please tell me the sol?
i have one sp in sql server which is able to throw the exception when the exception is occure. now i want to catch that exception from c#.net code and i want to print that exception on the screen? how can we handle the sql server exceptions from c# code. plz give me the code with db.
can any one please tell me the sol?
i have one sp in sql server which is able to throw the exception when the exception is occure. now i want to catch that exception from c#.net code and i want to print that exception on the screen? how can we handle the sql server exceptions from c# code. plz give me the code with db.

Kirtan PatelRank #292 · 8.6K reputationPosted Feb 12, 2010, 12:46 PM EST
Click here
Lalit MRank #1,186 · 1.5K reputationPosted Feb 16, 2010, 7:51 PM EST
http://www.aspfree.com/c/a/MS-SQL-Server/Exception-Handling-in-SQL-Server-2000-and-2005/
http://www.informit.com/articles/article.aspx?p=473457
http://www.15seconds.com/Issue/050721.htm