I have followed the https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridviewsortcompareeventhandler?view=netframework-4.8 document but the dataGridView1_SortCompare column header sort doesn't work ? Although I have declared
- this.dataGridView1.SortCompare += new System.Windows.Forms.DataGridViewSortCompareEventHandler(this.dataGridView1_SortCompare);
you see my attached file http://www.mediafire.com/file/pkkrtvd7mdhm94p/1.png

Dinesh GabhaneRank #265 · 9.5K reputationPosted Oct 11, 2019, 8:44 AM EDT
Dong Lam TrienRank #1,538 · 1K reputationPosted Oct 13, 2019, 4:41 PM EDT
Amit MohantyRank #112 · 20K reputationPosted Oct 14, 2019, 9:56 PM EDT
Dong Lam TrienRank #1,538 · 1K reputationPosted Oct 17, 2019, 6:11 PM EDT