Author: ronron | Posted on: 7/17/2008 1:09:38 PM | Views : 367

hi,

I am trying to solve this proble, for over 2 days and still.. i couldnt solve it

 i am getting this error:

Run-time exception thrown : System.InvalidCastException - Cast from string "00/00/00" to type 'Date' is not valid.

how do i put "00/00/00" or even a NULL value ??

 DATEE is diffine as datetime type in the data base
newNode = xmlTos.CreateElement("DATEE")
newNode.InnerText = ="00/00/00"

'If Not IsDate(newNode.InnerText) Then

' newNode.InnerText = DBNull.Value 'System.DBNull.Value.ToString

Go to the complete details ...