how to return stored procedure error?

  • Thread starter Thread starter smen
  • Start date Start date
S

smen

hiye, does anyone know how to return a stored procedure
error to vb.net?

any or all error capture in stored procedure i want em to
be return to vb.net.

thanks for the help..
 
If you are using SQL Server, any RAISERROR with a severity less than 10 can
be caught through InfoMessageEvent. Anything above 10 will result in a
SQLException that needs to be addressed in your ADO.NET code.
 
Back
Top