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..

Re: how to return stored procedure error? by William

William
Tue Jan 06 22:38:38 CST 2004

Look into the InfoMessage Property of the Connection object
http://www.knowdotnet.com/articles/connections.html


"smen" <anonymous@discussions.microsoft.com> wrote in message
news:080301c3d4d5$f2b42280$a101280a@phx.gbl...
> 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..
>



Re: how to return stored procedure error? by Manoj

Manoj
Wed Jan 07 00:55:53 CST 2004

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.

--
HTH,
Manoj G [.NET MVP]
http://www15.brinkster.com/manoj4dotnet

"William Ryan" <dotnetguru@nospam.comcast.net> wrote in message
news:#frYQhN1DHA.2636@TK2MSFTNGP09.phx.gbl...
> Look into the InfoMessage Property of the Connection object
> http://www.knowdotnet.com/articles/connections.html
>
>
> "smen" <anonymous@discussions.microsoft.com> wrote in message
> news:080301c3d4d5$f2b42280$a101280a@phx.gbl...
> > 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..
> >
>
>