DataRow¶
Represents a row in a DataTable.
Remarks¶
Column values are read and written as properties of the row, such as row.Name. Changes stay in memory until DataTable.Save is called.
Examples¶
Read and change column values¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
Capabilities¶
Row State¶
- DataRow.Delete: Marks the current row as deleted.
- DataRow.Undelete: Removes the deletion mark that was previously set with the DataRow.Delete method.
Conversion¶
- DataRow.ExportToXml: Writes the column values of the row into child elements of an XML node.
- DataRow.ImportFromXml: Sets the column values of the row from the child elements of an XML node.
- DataRow.toJSON: Returns the current row as a plain JavaScript object.