Read date to textbox

TheWizardofInt

Well-known member
Joined
Dec 31, 1969
Messages
333
Location
Orlando, FL
I am trying to read a date from a flat table in dbaseIV to a text box

I can read it to a datagrid, and receive 3/11/2002 12:00am as the value

I read it to a text box and receive an error that the format is wrong. Reading it to a string also doesnt work.

Any ideas?
 
Here is the error it throws:

System.InvalidCastException: The data value could not be converted for reasons other than sign mismatch or data overflow. For example, the data was corrupted in the data store but the row was still retrievable.
 
Back
Top