สร้าง Field เป็น Time และ ExtendedDataType เป็น timeOfDay
Code ยัดเวลาเข้าไปใช้
Name Table.Field Table = timenow();
ตัวอย่างใน Project SCI_QUOTATION
- <add name="Databasesalika1"
- connectionString="Data Source=qaxp-net;Port=3306;
- Database=salika;
- User Id=ironspeed1;Password=ironspeed1;
- Allow Zero Datetime=true"
- providerName="MySql.Data.MySqlClient"
- />
For additional information on this topic:
http://www.ironspeed.com/Designer/9.2.0/WebHelp/Part_VI/Unable_to_convert_MySQL_date_time_value_to_System_DateTime.htm
http://www.ironspeed.com/Designer/9.2.0/WebHelp/Part_VI/Unable_to_convert_MySQL_date_time_value_to_System_DateTime.htm