Assign Activity LINQ Query

Hi @Ishan_Shelke ,

Maybe as a First try to also include .Trim on your .ToString and Check if it works.

If the above change doesn’t work then you could try the below :

DT.AsEnumerable.Where(Function(r)if(r("Rem Life(%)").ToString.Trim.IsNumeric,CDbl(r("Rem Life(%)").ToString.Trim)>70,false)).CopyToDatatable

Also, Check on the following for Errors on Directly converting to Datatable

1 Like