News

The DataGridView exposes an event named "CellPainting", which (as its name suggests) gets called when the control paints a cell. Have you tried overriding this and drawing your borders there? You ...
I put the actual sort code in the DataGridView's ColumnHeaderMouseClick event, whose parameter includes the column position the user's clicked on (the ColumnIndex property). I use that parameter to ...