OleDbError::ToString Method ()
.NET Framework (current version)
Gets the complete text of the error message.
Assembly: System.Data (in System.Data.dll)
The string is in the form "OleDbError:", followed by the Message, and the stack trace. For example:
OleDbError:UserId or Password not valid. <stack trace>
The following example displays each OleDbError within the OleDbErrorCollection collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: