I’m reading excel and keeping all datas to dt_Datas variable. I need to filtered on this dt table. I need to getting datas from current day to oldest.
I used filter data table but didn’t work.
ColumnName : RegDate => Type of Date in excel.
But if there is no match data it gives the error like “The source contains no DataRows”
When i check the main DT there are 3 datas and these datas are not old.
These error occured on assign activity.
How can i control this?
ex : if DT includes old date then run
If the above is true then it will go to the “Then” part and you can do the previous step.
Keep in mind that the below cant handle empty strings/values or strings/values that are not in the correct format, if you expect no data or incorrect format that the Linq query below needs to be modified or similar.