i have table in database. my table tipe is time. but when i show that table in vc++, the date of that time follow it.
example :
in mysql : 10:00:00
when i show that table from visual C++, it will be : 23/01/2010 10:00:00
what must i do?
Printable View
i have table in database. my table tipe is time. but when i show that table in vc++, the date of that time follow it.
example :
in mysql : 10:00:00
when i show that table from visual C++, it will be : 23/01/2010 10:00:00
what must i do?
Please explain what data access method you use. The correct answer will depend on it.Quote:
when i show that table from visual C++, it will be : 23/01/2010 10:00:00
i use ADO data control and CDatagrid Control to show my table. u can find that control in Project > Add to Project > Components and control.
thanks for your attention
i solved it. but now i have new problem.
i solved it by change information of CDataGrid Control from it's Properties. i got difficult how to add Column number from that control. the default number of coloum are 2. and my table have 8 column, so i must have 8 column too.
for clearly of my question, i included JPEG file with this post.