I have an excel with 3 columns and i need to fetch the rows whichever i’ll give in the condition inside for each loop. I’m using Invoke Method to fetch the row details into new datatable but i’m getting null, i’ve used invoke method few times before but now it’s not working. Please refer input excel as well as xaml file.
DatatableVariable2 = (from x in DatatableVariable1.asEnumerable() where convert.tostring(x(“Place”)).trim.tolower.contains(“mangalore”)
select x).copytodatatable