Question : Reorder columns of unbound datagridview

Hello,
I am using the attached code to set the datasource of an unbound datagrid view at runtime.  How can I change the column order.

1:
2:
3:
4:
5:
6:
7:
Try
            dgvAERGrid.DataSource = AERDB.GetAERList
        Catch ex As SqlException
            MessageBox.Show("Database error retrieving data from database.", "Database Error")
        Catch ex As Exception
            MessageBox.Show(ex.Message, ex.GetType.ToString)
        End Try

Answer : Reorder columns of unbound datagridview

Sorry, use this formula:

=AND(RIGHT($A2,6)=" Count",RIGHT($A1,6)<>" Count")
Random Solutions  
 
programming4us programming4us