using (SqlConnection cn = new SqlConnection(connectionString)) {
cn.Open();
//call the overload that takes a connection in place of the connection string
return ExecuteDataset(cn, commandType, commandText, commandParameters);
}
using (SqlConnection cn = new SqlConnection(connectionString)) {
cn.Open();
//call the overload that takes a connection in place of the connection string
return ExecuteDataset(cn, commandType, commandText, commandParameters);
}