@ashukla7836
Welcome to the forum
give a try on following:
Groups | List(of List(of Datarow)) =
(From d in dtData.AsEnumerable
Group d by k=d("Location").toString.Trim into grp=Group
Where grp.Count > 1
Select grp.ToList).ToList
@ashukla7836
Welcome to the forum
give a try on following:
Groups | List(of List(of Datarow)) =
(From d in dtData.AsEnumerable
Group d by k=d("Location").toString.Trim into grp=Group
Where grp.Count > 1
Select grp.ToList).ToList