Hi friends! this code will help to sort data in datagridview Private Sub DataGrid1_HeadClick(ByVal ColIndex As Integer) Adodc1.Recordset.Sort = DataGrid1.Columns(ColIndex).DataField End Sub please comment if this code help you!
This blog will focused on solving logical difficulties, helping people with different technical challenges and provide useful information.