B
BuddyWork
. Reply (E-mail) Forward (E-mail)
Subject: Using Severity with ADO.Net
From: "BuddyWork" <[email protected]>
Sent: 1/13/2004 5:56:58 AM
Hello,
I need to know if there is anyway that I can tell ADO.Net
NOT to throw a SQLException if the severity level is
greater than 10. I want to be able to control the
raiserror's myself because when ADO.Net throws an
exception it does not RETURN the resultset for the queries
performed after the error.
E.g.
EXEC myTestSP
-- SP myTestSP calls Raiserror with severity of 16.
SELECT Name from Bank
The SELECT statement calls is processed by SQL Server but
ADO.Net does not allow me to get the data where DBLib did.
Thanks
..
Subject: Using Severity with ADO.Net
From: "BuddyWork" <[email protected]>
Sent: 1/13/2004 5:56:58 AM
Hello,
I need to know if there is anyway that I can tell ADO.Net
NOT to throw a SQLException if the severity level is
greater than 10. I want to be able to control the
raiserror's myself because when ADO.Net throws an
exception it does not RETURN the resultset for the queries
performed after the error.
E.g.
EXEC myTestSP
-- SP myTestSP calls Raiserror with severity of 16.
SELECT Name from Bank
The SELECT statement calls is processed by SQL Server but
ADO.Net does not allow me to get the data where DBLib did.
Thanks
..