Howdy,
I am completly new and i am sure i am missing something but i really can't get my head around it.
I would apprieciate a little help on this matter
I connect my app to a MySql database, so far so good. All works fine (thanks Andre ;-) ) but now here's the point i struggle with:
I have a label on my screen and want to fill that with a a date out of the database, i use the following command:
lblGebDatum.Text=m.Get("gebdatum")
I get a nice string back as: "1908-08-27" and that one is put on the label..
But i don't want it this way i want is formatted to the Dutch date format so: 27-08-1908.
I allready tried the use of Datetime.
datetime.DateParse (m.Get("gebdatum") but that doesn't work for me.
Any help is welcome!
Cheers,
Peter
I am completly new and i am sure i am missing something but i really can't get my head around it.
I would apprieciate a little help on this matter
I connect my app to a MySql database, so far so good. All works fine (thanks Andre ;-) ) but now here's the point i struggle with:
I have a label on my screen and want to fill that with a a date out of the database, i use the following command:
lblGebDatum.Text=m.Get("gebdatum")
I get a nice string back as: "1908-08-27" and that one is put on the label..
But i don't want it this way i want is formatted to the Dutch date format so: 27-08-1908.
I allready tried the use of Datetime.
datetime.DateParse (m.Get("gebdatum") but that doesn't work for me.
Any help is welcome!
Cheers,
Peter