Hi Guys,
I have used below code,
(From p In DT1.AsEnumerable() Group By x= New With { Key.a =p.Item(item)} Into Grp = Group Select DT1.Clone.LoadDataRow (New Object() {grp(0)(0).toString+" Count is "+grp.Count.toString},False)).CopyToDataTable
I got a output in below ,
but i need below format
I attached Full code also,
Please any one help this
Dup count.zip (9.0 KB)
Regards,
Raja G