Miha
Thu Mar 04 10:47:06 CST 2004
Hi,
You might inspect the Errors property of SqlException class when exception
occurs.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"GiroCarl" <carl.bruneau@giro-dot-ca.no-spam.invalid> wrote in message
news:40474e4d$1_2@Usenet.com...
> Hello Miha,
>
> I'm a newbies in ADO.NET.
>
> When you say that ADO.NET has nothing to do with it i'm a little
> surprised because we made to programs for testing a deadlock and the
> exceptio raised is a timeout expired.
>
> But if I do exactly what those program are doing directly in Query
> Analyser (database tool to make queries), the error I receive is
> 1205: Transaction (Process ID %d) was deadlocked on {%Z} resources
> with another process and has been chosen as the deadlock victim.
> Rerun the transaction.
>
> So the behavior is different.
>
> Carl
>
>
> Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
>
http://www.usenet.com