this what i am doing and getting error
- reading the excel
- saving it to dt
3 the new dt = readdt.Select(“[ScenarioName] = ‘AddressValidation’”).CopyToDataTable
what i want to do if under ScenarioName AddressValidation is persent then i have to save it new dt
Hi @manojv02500
The function you have written is right but Strange is you re not getting any results.
Try like below!
dt.AsEnumerable().Where(Function(r) r(“ScenarioName”).ToString.Equals(“AddressValidation”)).CopyToDatatable
Regards
1 Like
system
(system)
Closed
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.