DataRow.GetColumnError Method (String)
.NET Framework (current version)
Gets the error description for a column, specified by name.
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: