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 ordering
2 Replies
Scarlet
Scarlet3w ago
Why dont you order the data before passing to the grid? Genuine question
Diesel Geezer
Diesel GeezerOP3w ago
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
Want results from more Discord servers?
Add your server