AdgDataSet.GetFormatTable Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Retrieves the DataTable associated with the specified format.
Overloads
Signature | Description |
---|---|
GetFormatTable(Int32) | Retrieves the DataTable associated with the specified format index. |
GetFormatTable(String) | Retrieves the DataTable associated with the specified format name. |
DataTable GetFormatTable(Int32)
Retrieves the DataTable associated with the specified format index.
DataTable GetFormatTable(int iFormat)
Parameters
Type | Parameter name | Description |
---|---|---|
Int32 | iFormat | The format index of the DataTable to retrieve. |
Returns
Type | Description |
---|---|
DataTable | The DataTable associated with the specified format index. |
Remarks
Validates the index and returns the DataTable for the AdgTable at that index; throws a dgException if out of range.
DataTable GetFormatTable(String)
Retrieves the DataTable associated with the specified format name.
DataTable GetFormatTable(string strFormat)
Parameters
Type | Parameter name | Description |
---|---|---|
String | strFormat | The format name of the DataTable to retrieve. |
Returns
Type | Description |
---|---|
DataTable | The DataTable associated with the specified format name. |
Remarks
Calls GetFormatIndex to resolve the name into an index, then returns the DataTable for that index.