G
Guest
I set the datagrid to be sortable,
sort expression = "Column1 asc"
but when i click the column name
the datagrid doesn't load anything, did i miss sth. on the sorting? thanks a
lot!!
in Sort_Command event handler
Dim SortView As DataView = DataSet11.Products.DefaultView
SortView.Sort = e.SortExpression
DataGrid1.DataSource = SortView
DataGrid1.DataBind()
sort expression = "Column1 asc"
but when i click the column name
the datagrid doesn't load anything, did i miss sth. on the sorting? thanks a
lot!!
in Sort_Command event handler
Dim SortView As DataView = DataSet11.Products.DefaultView
SortView.Sort = e.SortExpression
DataGrid1.DataSource = SortView
DataGrid1.DataBind()