@himanshur
give a try on myDatatable.Select(“Age < 29”).CopyToDataTable
keep in mind that this will throw an exception if the filter result is empty. We can handle defensive an empty result as following:
Thanks Boss
@himanshur
give a try on myDatatable.Select(“Age < 29”).CopyToDataTable
keep in mind that this will throw an exception if the filter result is empty. We can handle defensive an empty result as following:
Thanks Boss