AdgDataSet.NewKeyTable Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Creates a new AdgKeyTable for the DataTable associated with the specified format.
Overloads
Signature | Description |
---|---|
NewKeyTable(Int32) | Creates a new AdgKeyTable for the DataTable associated with the specified format index. |
NewKeyTable(String) | Creates a new AdgKeyTable for the DataTable associated with the specified format name. |
AdgKeyTable NewKeyTable(Int32)
Creates a new AdgKeyTable for the DataTable associated with the specified format index.
AdgKeyTable NewKeyTable(int iFormat)
Parameters
Type | Parameter name | Description |
---|---|---|
Int32 | iFormat | The format index of the DataTable. |
Returns
Type | Description |
---|---|
AdgKeyTable | A new AdgKeyTable for the DataTable associated with the specified format index. |
Remarks
Retrieves the AdgTable for the index, creates a new AdgKeyTable, and sets its key row.
AdgKeyTable NewKeyTable(String)
Creates a new AdgKeyTable for the DataTable associated with the specified format name.
AdgKeyTable NewKeyTable(string strFormat)
Parameters
Type | Parameter name | Description |
---|---|---|
String | strFormat | The format name of the DataTable. |
Returns
Type | Description |
---|---|
AdgKeyTable | A new AdgKeyTable for the DataTable associated with the specified format name. |
Remarks
Resolves the format via GetFormatIndex and delegates to the integer overload.