Dear fellows,

i have a problem here, is there anyway to implement the drag and drop function for users to reorder the column sequence? i have tried several ways but it still not working, any hints can enlighten me? bottom is part of my code, thanks in advance.

DataGridView1.AllowUserToOrderColumns = True
        DataGridView1.SelectionMode = DataGridViewSelectionMode.FullColumnSelect
Private Sub DataGridView2_DragOver(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles DataGridView2.DragOver
        'Just to Show a mouse icon to denote drop is allowed here
        e.Effect = DragDropEffects.Move
    End Sub

i have read this both url before i have posted. but it doesnt work when i converting it from C# to anyway thanks for your reply =)

Replace this line
DataGridView1.SelectionMode = DataGridViewSelectionMode.FullColumnSelect

DataGridView1.SelectionMode = DataGridViewSelectionMode.CellSelect