Problem with datagridview sorting
after i use
dataGridView1.Sort(dataGridView1.Columns[0], System.ComponentModel.ListSortDirection.Ascending);
The datagridview starts ordering whatever i enter automatically. I thought this was supposed to sort the data only when i ran the command, not make it sort automatically all the time
how do i sort a datagridview only once without the automatic ordering2 Replies
Why dont you order the data before passing to the grid?
Genuine question
i dont want to order them automatically when i enter data
because it moves the data all around and it annoys me
when im done with whatever im doing then i sort them all