![]()
An array of System.Data.DataColumn objects that contain errors.
The DataRow.GetColumnsInError lets you reduce the number of System.Data.DataColumn objects that must be processed for errors by returning only those columns that have an error. Errors can be set to individual columns with the DataRow.SetColumnError(int, string) method. To further reduce the number of processing, examine the DataRow.HasErrors property of the System.Data.DataRow class to determine whether a System.Data.DataRow has errors before invoking DataRow.GetColumnsInError.
Use the DataRow.ClearErrors method to clear all errors on the row. This includes the DataRow.RowError.