public static QueryForDataSet ( |
||
connDesc | The database connection descriptor. This will be /// used to get the database connection. | |
dataTableName | string | The name of the DataTable to put data into in the DataSet. /// May be null if you wish to use the default given by the DataAdapter. |
sql | string | The parameterized SQL query (?'s for values). |
sqlParams | IEnumerable | A list of objects to use as parameters /// to the SQL statement. The list may be /// null if there are no parameters. |
return |
public static DataSet QueryForDataSet(AbstractSqlConnectionDescriptor connDesc, string dataTableName, string sql,
IEnumerable sqlParams)
{
DataSet retVal = new DataSet();
QueryIntoDataSet(connDesc, dataTableName, sql, sqlParams, retVal);
return retVal;
}