I have an unbound DataGridView w/ multiple columns(10). I add data to it programatically when a button is clicked. The first column contains durations in milliseconds(1000 = 1sec). Each time a row of data is added to the dataGridView, I need it to update the sort list of the rows depending on the value of column1(ms).
I'm using DataGridView1.listSortDirection(ascending), but it sorts them as strings instead of integers, when I need them to be sorted from least(top) to greatest(bottom). Someone mentioned setting the column's dataValueType, but I'm a novice at programming, and have no idea how to do this. Any help would be greatly appreciated.