Helo all,
Please tell me what is error in below line:
cmd = new OleDbCommand(@"UPDATE Param = ?, Param1 = ?, [Received] = True, WHERE mailID = ?", connection);
Getting error while doing update
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Shweta LodhaRank #31 · 39.8K reputationPosted Dec 19, 2014, 4:06 AM EST
There is an extra comma after True. Please change your code to:
cmd = new OleDbCommand(@"UPDATE Param = ?, Param1 = ?, [Received] = True WHERE mailID = ?", connection);
Rukhsaan120 reputationPosted Dec 19, 2014, 4:08 AM EST
Shweta LodhaRank #31 · 39.8K reputationPosted Dec 19, 2014, 4:33 AM EST