G
Guest
I'm having problems passing a dataset parameter through to a stored
procedure. The error I'm getting is:
Procedure 'wf_inventory_product_select' expects parameter '@div', which was
not supplied.
This is the code I'm using:
SqlDataAdapter1.InsertCommand.Parameters.Add("@div",
SqlDbType.VarChar).Value = div
SqlDataAdapter1.UpdateCommand.Parameters.Add("@div",
SqlDbType.VarChar).Value = div
SqlDataAdapter1.Fill(DataSet11)
procedure. The error I'm getting is:
Procedure 'wf_inventory_product_select' expects parameter '@div', which was
not supplied.
This is the code I'm using:
SqlDataAdapter1.InsertCommand.Parameters.Add("@div",
SqlDbType.VarChar).Value = div
SqlDataAdapter1.UpdateCommand.Parameters.Add("@div",
SqlDbType.VarChar).Value = div
SqlDataAdapter1.Fill(DataSet11)