May 2010
Intermediate to advanced
1752 pages
41h 17m
English
As you have seen, a collection of DataColumn objects represents the schema of a DataTable. In contrast, a collection of DataRow objects represents the actual data in the table. Thus, if you have 20 rows in the Inventory table of the AutoLot database, you can represent these records using 20 DataRow objects. Table 22-4 documents some (but not all) of the members of the DataRow type.
| Members | Meaning in Life |
|---|---|
| HasErrors
GetColumnsInError() GetColumnError() ClearErrors() RowError | The HasErrors property returns a Boolean value indicating whether there are errors in a DataRow. If so, you can use the GetColumnsInError() method to obtain the offending columns and GetColumnError() to obtain ... |