I have a MS Access '97 OleDB database, with a table named "MyTable"
[Table]
public class MyTable
{
[Column]
public DateTime DateStamp;
}
I open it up with a DataContext
object, call InsertOnSubmit
with a new instance of a MyTable
with DateStamp = DateTime.Now
.
Running SubmitChanges()
causes the following exception:
"Data type mismatch in criteria expression."
Should DateStamp be a DBDateType or something?
Thanks!