georgepatotk
Well-known member
Mates, I have a problem here, please do me a favor.
I am using MySQL 4.1. And using MySql.Data.MySqlClient as the ado.
Things work very fine. But, recently I found out a problem where from my query, the date value is not stored in the Databases.
My query is as below:
"INSERT INTO tblSales (SalesDate,.....) VALUES (" & datetimepicker1.value & ",...)"
The insertion query runs well, and all the values are stored except SalesDate. I check the databases, it actually store NULL value.
Please do me his favor, tell me why is this happen..
I am using MySQL 4.1. And using MySql.Data.MySqlClient as the ado.
Things work very fine. But, recently I found out a problem where from my query, the date value is not stored in the Databases.
My query is as below:
"INSERT INTO tblSales (SalesDate,.....) VALUES (" & datetimepicker1.value & ",...)"
The insertion query runs well, and all the values are stored except SalesDate. I check the databases, it actually store NULL value.
Please do me his favor, tell me why is this happen..