R
Rick
Line #2 in the following code generates an error; what am I doing wrong?
Error 1 The best overloaded method match for
'Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteDataset(string,
System.Data.CommandType, string)' has some invalid arguments
Code:
Line #1 System.Data.DataSet dsCust = new System.Data.DataSet();
Line #2 dsCust = SqlHelper.ExecuteReader(sqlConnection,
CommandType.Text, "SELECT * FROM Customer");
Error 1 The best overloaded method match for
'Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteDataset(string,
System.Data.CommandType, string)' has some invalid arguments
Code:
Line #1 System.Data.DataSet dsCust = new System.Data.DataSet();
Line #2 dsCust = SqlHelper.ExecuteReader(sqlConnection,
CommandType.Text, "SELECT * FROM Customer");