System.Data.SqlClient.SqlError Class
Information   Base Types   Related Resources

Collects information relevant to a warning or error returned by SQL Server. This class cannot be inherited.

  • Namespace: System.Data.SqlClient
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: System.Data.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (1)Discussions (23)MembersRotorChanges
    Articles

    Page: 1
    HOW TO: Return Errors and Warnings from a SQL Server Stored Procedure in ADO.NET
    http://www.kbalertz.com/
    (321903) - This article describes how to display both SQL Server errors and warnings in ADO.NET. If you raise an error that has a severity level of 10 or less, which is a warning, no exception is raised. This warning is not populated into the SqlErrorCollection...
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com