Link to home
Start Free TrialLog in
Avatar of mdoland
mdoland

asked on

C# DateTime insert to DateTime in Access DB

I have problem sto insert a DateTime from C# into a Access Table. What format am I supposed to have when inserting it? Are there any location dependent issues?
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America image

What is the column type in your access database, and how are you [attempting to] insert a DateTime?
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A DateTime has no format but if you wish to create an SQL string for the purpose you should use the format mentioned by emoreau.

/gustav