D
DC Gringo
I'm trying to build a sorting control. The textbook example gives me the
following, but I'm using a DataSet and two tables from a stored procedure
rather than a dataview. How would I modify this to suit?
Private Sub DataGrid1_SortCommand(ByVal source As Object, _
ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs) _
Handles DataGrid1.SortCommand
DataView.Sort = e.SortExpression
DataGrid1.DataBind()
End Sub
_____
DC G
following, but I'm using a DataSet and two tables from a stored procedure
rather than a dataview. How would I modify this to suit?
Private Sub DataGrid1_SortCommand(ByVal source As Object, _
ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs) _
Handles DataGrid1.SortCommand
DataView.Sort = e.SortExpression
DataGrid1.DataBind()
End Sub
_____
DC G