I read/update data from MS Access using C#. My code is:
public static void UpdateLastLogin(int userid, DateTime logintime) ///logintime = DateTime.Now {
Firstly, no your SQL statement should be:
"UPDATE Customers SET LastLogin=@LastLogin"
Secondly, the reason you are receiving the date mismatch error will probably be your passing '?' as your date time into the LastLogin field instead of the actual logintime parameter.