DataTable dt2 = ApplyFiltersWithSorting(dt, sort, "");
GridView1.DataSource = dt2.AsEnumerable().Where(r => r.Field<string>("PresentInstitutePostingDate") == "").CopyToDataTable();
reference:- https://stackoverflow.com/questions/19449449/how-i-can-filter-a-datatable-with-linq-to-datatable
No comments:
Post a Comment