oleDbDataAdapter problem

  • Thread starter Thread starter Chuck
  • Start date Start date
C

Chuck

The command builder for oldDbDataAdapter sets date/time column parameters to
DbDate as the default for Insert and Update commands. Is there anyway to
make Date the default type?

I have date/time fields in all of the tables in my access database. They
must have both the date and time. The DbDate conversion strips the time
from the DateTime parameter. Being lazy I am using the DataAdapter
configuration wizard, which sets the type to DbDate, and then doing a
replace in my code. Anyone have a better way?
 
Back
Top