Neel (Neel@discussions.microsoft.com) writes:
Have you looked at the OleDBErrorCollection? You should find error number
and error text there. (But you cannot retrieve the severity.)
Tip: this group is for using the native OLE DB interface. The expertise
on ADO .Net is better in microsoft.public.dotnet.framework.adonet.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|