Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
in my application i inserted date time value from the datetime picker to the mysql database .but when i try to retrieve that field from the table by using the select query it is not retrieving the value it is returning an empty field what could be the reason
please replay me


regards

ginnas
Posted
Comments
Shaunak De 7-Sep-12 4:53am    
Try checking the database via the command line. I do suspect the insert did not work
Ganesh Nikam 7-Sep-12 4:55am    
can you paste the Query
ginnas 7-Sep-12 5:39am    
select fieldname from tablename where condition
Vedangi 7-Sep-12 4:57am    
What is Datatype in Database ? Is it inserted properly ?
ginnas 7-Sep-12 5:38am    
date only
inserted correctly and it is showing in the database also{mysql work bench]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900