I have a datagridview and button on form , in datagridview's columns has some numeric values let say like
ClientNumber and Sale
253 = +10
259 = +20
254 = -100
278 = -50
259 = +30
254 = +40
now what i want when there is repeatation of same figure the first one merge with second one like they should not be repeated again
253
259
254
278
further more i want to display them in ascending order plus i want to calculate thier sale as well
so the final result of datagridview should be look like this one
ClientNumber and Sale
253 = +10
259 = +50
254 = -60
278 = -50
important note : this values are not comming from any database it is being calculated by funtion in runtime......................
please some one help me out thanking you