1.11M Members

Saving picked value in DateTimePicker

 
0
 

hi,
How to save the long format DateTimePicker in mysql?

 
0
 

Is this a question about the DateTimePicker or about MySQL? If it's the former then the control has a Value property that gives you the stored DateTime object. You can then get the long format as a string and save it to MySQL:

Dim longdate As String = dateTimePicker1.Value.ToLongDateString()

' Save longdate to MySQL
 
0
 

thank you!

Question Answered as of 1 Year Ago by deceptikon
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article