L
LisaBigJax
I'm using VWD2.0 and VB.net
I'm working with a Datalist (which doesn't have built-in sorting like
the Gridview) and I would like to sort the datalist via dropdown list.
In the SelectedIndexChanged event I placed:
Dim dsa As New DataSourceSelectArguments
dsa.SortExpression = dropdownlist.selectedvalue (which is
"ClientName")
SqlDataSource1.Select(dsa)
DataList1.DataBind()
This does not work. There are plenty of examples on the web which
illustrate sorting on a datalist using asp.net 1.0 but not 2.0.
Can someone steer me in the right direction?
I'm working with a Datalist (which doesn't have built-in sorting like
the Gridview) and I would like to sort the datalist via dropdown list.
In the SelectedIndexChanged event I placed:
Dim dsa As New DataSourceSelectArguments
dsa.SortExpression = dropdownlist.selectedvalue (which is
"ClientName")
SqlDataSource1.Select(dsa)
DataList1.DataBind()
This does not work. There are plenty of examples on the web which
illustrate sorting on a datalist using asp.net 1.0 but not 2.0.
Can someone steer me in the right direction?