I got a problem, I can save my data to access database and in the access database field I set it to date/time.
But problem is when I get the value out from the database.. the format is always month/day/year hour:minutes:seconds
How to get the value into listview becoming May/2/2011 without the hour
Here's my code to get it from database
The second problem is..
When I would like to edit, how can the datetimepicker get the listview value ?
Here is the code when I click edit button, the datetimepicker1 will get the listview1 date.
Here my code:
DateTimePicker1.Value = ListView1.SelectedItems(0).SubItems(14).Text
Anyone can help me please?
info: using access 2003 (.mdb) the Date of Birth field has been set into Date/Time.