Re: SqlException
Your code would have to identify the command. Then you could create a custom
Exception class that contains that information.
--
HTH,
Kevin Spencer
Microsoft MVP
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Ferdinand Zaubzer" wrote in message
news:u$4NCs94HHA.4476@TK2MSFTNGP06.phx.gbl...
> When I catch an SQLException that could possibly come from several
> sqlCommand.ExecuteNonQuery(); statements in a try-catch block how can I
> identify the correct command without a stacktrace?
>
> Thanks
> Ferdinand
Date:Tue, 21 Aug 2007 07:07:33 -0400
Author:
|