Skip to Content
1
Former Member
Jul 09, 2007 at 04:20 PM

invalid date value [131-183] error

925 Views

I'm trying to move a "DateTime" data item from a DB to an "EditText" item in a form and I keep getting the error mentioned above. Below is the C# code. What am I doing wrong?

oItem = oForm.Items.Item("9");

oEdit = ((EditText)(oItem.Specific));

sString = vData.dPEDate.ToString();

oDate = DateTime.Parse(sString);

oEdit.Value = oDate.ToString();

This should be easy but I haven't been able to get it to work.

HELP!

Thanx,

Tim