tags:

views:

119

answers:

1

I have created my custom DataGridViewNumericTextBoxColumn derived from DataGridViewTextBoxColumn class.

When I call

this.HeaderDataGridView.Sort = Sort.Programmiticaly; this.HeaderDataGridView.Sort(this.HeaderDataGridView.Columns[Utility.HEAD_X], ListSortDirection.Ascending);

It is working fine for integer type values but when the data contain double values it don't sort.

Thanks, Ashish

A: 

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

SchlaWiener