D
Dan
Seems like i've tried every example in the newsgroups and in
referenced articles but I just can't get this grid to sort, am I
missing something obvious?
View State = True
Allow Sorting = True
Sort Expressions in Property Builder set to Column Names
Code for Sort Command:
Private Sub DataGrid1_SortCommand(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles
DataGrid1.SortCommand
Dim dv As New DataView(GridSet1.Tables("driverstatus_a"))
dv.Sort = e.SortExpression
DataGrid1.DataSource = dv
DataGrid1.DataBind()
End Sub
Any help is appreciated
Dan
(e-mail address removed)
referenced articles but I just can't get this grid to sort, am I
missing something obvious?
View State = True
Allow Sorting = True
Sort Expressions in Property Builder set to Column Names
Code for Sort Command:
Private Sub DataGrid1_SortCommand(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles
DataGrid1.SortCommand
Dim dv As New DataView(GridSet1.Tables("driverstatus_a"))
dv.Sort = e.SortExpression
DataGrid1.DataSource = dv
DataGrid1.DataBind()
End Sub
Any help is appreciated
Dan
(e-mail address removed)