I have the code:
dt = collListItems.GetDataTable().AsEnumerable() .Where(a => Convert.ToString(a[\"Expertise\"]).Contains(expertise) && Co
I think this would be a simpler solution:
var Adj = (from c in View.AdjustmentsDataSource.AsEnumerable() where c["Adjustment"] != System.DBNull.Value select c); if (Adj == null || Adj.Count() == 0) return; DataTable dtChanges = Adj.CopyToDataTable();