many have asked a question similar to mine but my concept is different. I have a DataGrid connected to Sql where I correctly display the data. I have 2 columns Name and Price, but many names are the same and I would like to sum the price column of only the same names of the Name column. Name Price A 3 B 2 A 7 B 9
So I would like to Sum only B or A