Re: Datarow - Date type
I think this is what you are asking. I have a text box with mask for dob in a form. Sending it to mysql as a new row for instance I do the following:
newRow("dob") = Convert.ToDateTime(txtMaskDob.Text)
and it converts it to the proper format for mysql.
Problem I am having is coming from mysql to the textbox, like looking up a record. Coming from the db to the textbox it drops leading zeros so a dob of 05-15-1966 would look like 51-51-966 in the dob textbox. Haven't figured that one out yet.
Hope that helps
tk
Subject
Written By
Posted
Re: Datarow - Date type
January 07, 2005 09:18PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.