For example I have a datagridview1 with data imported from a text file and there are 3 columns: ID, Subject, Grade
.
What I want to do is to Group By
the ID Column
and put it in a ListBox
.
I dont have any database here so I can't use sql queries or is there a way to manipulate datagridview using sql queries? Just like this:
SELECT ID FROM DataGridView1 Group By ID
Any response would really be appreciated.