AdgDataSet.PrepareRow Method
Estimated reading time: 2 minutes
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Prepares a new or specified row for the DataTable associated with the specified format.
Overloads
Signature | Description |
---|---|
PrepareRow(String) | Prepares a new row for the DataTable associated with the specified format name. |
PrepareRow(String, DataRow) | Prepares the specified row for the DataTable associated with the specified format name. |
PrepareRow(Int32) | Prepares a new row for the DataTable associated with the specified format index. |
DataRow PrepareRow(String)
Prepares a new row for the DataTable associated with the specified format name.
DataRow PrepareRow(string strFormat)
Parameters
Type | Parameter name | Description |
---|---|---|
String | strFormat | The format name of the DataTable. |
Returns
Type | Description |
---|---|
DataRow | A new row prepared for the DataTable associated with the specified format name. |
Remarks
Resolves the format index with GetFormatIndex and delegates to the integer overload.
void PrepareRow(String, DataRow)
Prepares the specified row for the DataTable associated with the specified format name.
void PrepareRow(string strFormat, DataRow row)
Parameters
Type | Parameter name | Description |
---|---|---|
String | strFormat | The format name of the DataTable. |
DataRow | row | The row to prepare. |
Remarks
Resolves the format index with GetFormatIndex, retrieves the AdgTable, and prepares the provided row.
DataRow PrepareRow(Int32)
Prepares a new row for the DataTable associated with the specified format index.
DataRow PrepareRow(int iFormat)
Parameters
Type | Parameter name | Description |
---|---|---|
Int32 | iFormat | The format index of the DataTable. |
Returns
Type | Description |
---|---|
DataRow | A new row prepared for the DataTable associated with the specified format index. |
Remarks
Retrieves the AdgTable for the index and prepares a new row, setting defaults and the active row.