private void AddValue(string strValue) { //get the maximum id for Lists first int MaxID = DataOperations.ReturnMaxIDInATable(\"Lists\", connString);
I believe you need to use question marks for the parameters when executing SQL through the OleDbCommand (while SqlCommand uses @). Example:
INSERT INTO Lists (ID, ListName, ListValue) VALUES (?, ?, ?)
You only need to Add the Parameters in the order that they appear in the SQL.