I have a datagridview with a number of columns, one of these is a datetime column. I want to display the rows from most recent downwards. e.g. Today Yesterday The Day Before Yesterday etc.
Is it possible to do this with the datagridview? The gridviews datasource is an xmldocument.......
help appreciated greatly.
Regards,
this.dataGridView1.Sort(dataGridView1.Columns["DateTime"], ListSortDirection.Ascending);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With