Hey @arthurang
You can check in if conition
row(“ReceivedDate”).Equals(String.Empty)
IN true do noting else do the operation you want (convert the parameter.)
Hi @Chirag_Shetty_Divakar thanks for your reply. i’m new to UiPath and i’m not quite sure where will i put that code since i’m using Insert Activity to insert all data came from the data table.
Hi @supermanPunch apologies. the objective is to skip only the date field that is empty in data table since the field in access database was set as date/time.
already got the solution. thanks to @vishal.kp and to everyone who give their answer also.
dtTable.AsEnumerable.ToList.ForEach(Sub(row)
If(IsNothing(row("ReceivedDate")) Or (String.IsNullOrEmpty(row("ReceivedDate").tostring.Trim))) Then
row("ReceivedDate") = DBNull.Value
End If
End Sub)