RunSQLReturnDataset
This method runs a SQL Command and returns a dataset.
Parameters:
| Description | |
|---|---|
| sqlCommand | SQL command to be executed. |
| dataSet | dataSet where the result set should be added |
| tableName | Table name for the new table to be added into the data set. |
| sqlParams | SQL parameters to be passed to the command object. |
Returns:
| Type | |
|---|---|
| System.Data.DataSet |
| C# | |
|---|---|
public DataSet RunSQLReturnDataset( string sqlCommand, DataSet dataSet, string tableName, ArrayList sqlParams ) | |
Parameters
- sqlCommand
- dataSet
- tableName
- sqlParams
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0