AddWithValue implicitly sets the parameter type and it sounds like it is failing. Use the .Add("...", OleDbType.{type}).Value = "..." approach instead;
Code:cmd.Parameters.Add("@EntryDate", OleDbType.Date).Value = myDate
|
Results 1 to 8 of 8
Threaded View
|
Click Here to Expand Forum to Full Width |