[]
Executes the specified query with the given parameters.
DataTable ExecuteQuery(string query, IDataParameter[] parameters, int previewLimit)
Type | Name | Description |
---|---|---|
string | query | The SQL query to execute. |
IDataParameter[] | parameters | An array of IDataParameter objects representing the query parameters. |
int | previewLimit | The maximum number of rows to include in the result for preview purposes. |
Type | Description |
---|---|
DataTable | A DataTable containing the result of the query execution. |