No value give for one or more parameters.>One other thing. Try changing your command to the following syntax:
>OleDbCommand objCmd = new OleDbCommand("select * from customers where CustomerID = (?)"); >objCmd.Parameters.Add("@myParam", "ALFKI"); >>
>>OleDbCommand objCmd = new OleDbCommand("select * from customers where CustomerID = ?myParam"); >>objCmd.Parameters.Add("@myParam", "ALFKI"); >>>>
>>Command contains unrecognized phrase/keyword. >>>>
>>OleDbCommand objCmd = new OleDbCommand("select * from customers where CustomerID = ?myParam"); >>objCmd.Parameters.Add("@myParam", "ALFKI"); >>>>
>>Missing operand. >>>>>I think you are missing "@" in your syntax. I think it should be
>>>objCmd.Parameters.Add("@CustomerID", "ALFKI"); >>>>>>
>>>>OleDbCommand objCmd = new OleDbCommand("select * from customers where CustomerID = ?"); >>>>objCmd.Parameters.Add("CustomerID", "ALFKI"); >>>>>>>>
>>>>No value given for one or more required parameters. >>>>>>>>