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 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!
It is very helpful...thanks for that๐๐
ReplyDelete