datagridview

Aug 20 2008 3:18 AM
I am using datagridview in c#. it has three column such as word,frequency and percentage. this will display large rows.
what i am need here is equal values of word column combine into one row and calculate freq and percentage?
how is it possible? can you help me?

examaple:
datagridview
word   freq   percentage
------------------------
come   30      2.0
go         23      1.2
come      20   1.4
what      2         0.1


output will like that:

word   freq   percentage
------------------------
come   50      1.7
go         23      1.2
what      2         0.1

Answers (1)