AdgTable.SetRowDefaultValues Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Sets the default values for each column in the provided DataRow.
void SetRowDefaultValues(DataRow row)
Sets the default values for each column in the provided DataRow.
Remarks
This method iterates over each DataColumn in the DataRow’s table, and sets the value of the DataRow’s column to its default value.The default value is determined by the FieldType.GetColumnDefaultValue method, which is not shown in the provided code.An ArgumentNullException is thrown if the provided DataRow is null.
void SetRowDefaultValues(DataRow row)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| DataRow | row | The DataRow for which to set default values. |