Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Exception Handling

Author  Topic 

Jomypgeorge
Starting Member

31 Posts

Posted - 2010-10-15 : 05:21:41
Hi,

currently i am working with a C# project with SQLSever 2005 database.
now i am confused on exception handling. I have searched in net and got a few answers like this.
1.just put it in try catch
2.use catch block to pass error number or error message to front end using select error_number()

Let me know how to handle this?

Thanks in advance
   

- Advertisement -