G
Guest
Hey all,
I'm trying to pass a parameter into my Stored procedure to be accessed by
my data adapter into a dataset
db2.AddParameter("@intClientID",
cmbClientList.SelectedValue.ToString());
DataSet rsDataset = db2.Fill("spListMappingDetails",
CommandType.StoredProcedure);
However, when i try to run it, it gives me an error
{"Procedure 'spListMappingDetails' expects parameter '@intClientId', which
was not supplied."}
Any help is appreciated.
I used a executescalar and executequery function and it has no problem.
thanks in advance
I'm trying to pass a parameter into my Stored procedure to be accessed by
my data adapter into a dataset
db2.AddParameter("@intClientID",
cmbClientList.SelectedValue.ToString());
DataSet rsDataset = db2.Fill("spListMappingDetails",
CommandType.StoredProcedure);
However, when i try to run it, it gives me an error
{"Procedure 'spListMappingDetails' expects parameter '@intClientId', which
was not supplied."}
Any help is appreciated.
I used a executescalar and executequery function and it has no problem.
thanks in advance