I have to believe this is something really easy I'm just overlooking...
I've got a DataGridView that is bound to a datasource. The datasource's column has had its values populated as integers. But, when I sort on this column, I end up with a sort as if the data was of type string. For example:
When it obviously should sort numerically. I've tried handling the CellFormatting event too:
Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting
If Not IsNumeric(e.Value) Then Return
e.Value = CType(e.Value, Integer)
But I end up with the same results. What the heck am I missing???