DataGridView Sort Programmatically

前端 未结 2 499
执念已碎
执念已碎 2021-01-25 02:38

I have created my custom DataGridViewNumericTextBoxColumn derived from DataGridViewTextBoxColumn class.

When I call

this.HeaderDataGridView.Sort = Sort.P         


        
2条回答
  •  無奈伤痛
    2021-01-25 03:44

    What's the DataSource of the DataGridView? Can the DataSource sort Double values programatically?

提交回复
热议问题