Hello everybody!
Does somebody know how to write Date and Time to Db? This column in Db Tbale has datetime type. And I always get an error trying to write such way:
"INSERT INTO Table (dtCreated) VALUES ("+System.DateTime.Now+")"
What is the problem?
Thank you!
Best regards,
Alex
Does somebody know how to write Date and Time to Db? This column in Db Tbale has datetime type. And I always get an error trying to write such way:
"INSERT INTO Table (dtCreated) VALUES ("+System.DateTime.Now+")"
What is the problem?
Thank you!
Best regards,
Alex