Hi!
I have this code for populating a datagrid:
Dsmyrecs = New InTheHand.Data.Adoce.AdoceDataAdapter("tbl_OBJ", cnDataFile)
' Dim ds As New DataSet("Tables")
myds = New DataSet("Tables")
Dsmyrecs.Fill(myds, "tbl_OBJ")
DataGrid1.DataSource = myds.Tables(0)
My question is: How do I sort the datagrid on a certain field?
I have this code for populating a datagrid:
Dsmyrecs = New InTheHand.Data.Adoce.AdoceDataAdapter("tbl_OBJ", cnDataFile)
' Dim ds As New DataSet("Tables")
myds = New DataSet("Tables")
Dsmyrecs.Fill(myds, "tbl_OBJ")
DataGrid1.DataSource = myds.Tables(0)
My question is: How do I sort the datagrid on a certain field?