Question How to delete the duplicate rows in a datagridview in vb 2010?

knowdarian

Member
Joined
Apr 9, 2012
Messages
6
Programming Experience
Beginner
I have a datagridview extracted from a csv file.
It displays duplicate rows.
How can I delete those duplicate rows from the datagridview?
replies would be precious.


e.g


Col1 Col2 Col3 COl4

data1 23 56 98

data2 45 76 88


data3 44 55 73

data1 23 56 98

data4 99 00 12

data5 25 24 90

date3 44 55 73



Likewise there are n number of rows in the datagrid view.
where it displays duplicate rows for some rows as in above.


output should be


Col1 Col2 Col3 COl4

data1 23 56 98

data2 45 76 88


data3 44 55 73

data4 99 00 12

data5 25 24 90
 
Back
Top