DataRow::GetColumnError Method (String)
Gets the error description for a column, specified by name.
Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Parameters
- columnName
- Type: System::String
The name of the column.
Use the SetColumnError method to set column errors.
To determine whether any errors exist for the columns collection, use the HasErrors method. Consequently, you can use the GetColumnsInError method to retrieve all the columns with errors.
To clear all errors for the columns collection, use the ClearErrors method.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.