getQueryResult method

getQueryResult(fileName, connection, query, field)

Returns query result.

getQueryResult(fileName: string, connection: string, query: string, field: Aspose.Words.Fields.FieldDatabase)
ParameterTypeDescription
fileNamestringThe complete path and file name of the database specified in the \d field switch.
connectionstringThe connection to the data specified in the \c field switch.
querystringThe set of SQL instructions that query the database specified in the \s field switch.
fieldFieldDatabaseThe field being updated.

Returns

The FieldDatabaseDataTable instance that should be used for the field’s update.

See Also