L
LisaBigJax
Im using VWD2.0 / VB.net
I can't use the GridView control for this project and am using a
datalist so the automatic sorting provided by that control is not an
option. I have a dropdown box which has the sort criteria with an
autopostback.
Assuming the sort critieria is "Name", I've tried this in the
SelectedIndexChanged event with no luck.
Dim dsa As New DataSourceSelectArguments
dsa.SortExpression = "ClientName"
SqlDataSource1.Select(dsa)
DataList1.DataBind()
Can someone steer me in the right direction? (using vb.net and visual
web dev)
Thx
~ Leeza
I can't use the GridView control for this project and am using a
datalist so the automatic sorting provided by that control is not an
option. I have a dropdown box which has the sort criteria with an
autopostback.
Assuming the sort critieria is "Name", I've tried this in the
SelectedIndexChanged event with no luck.
Dim dsa As New DataSourceSelectArguments
dsa.SortExpression = "ClientName"
SqlDataSource1.Select(dsa)
DataList1.DataBind()
Can someone steer me in the right direction? (using vb.net and visual
web dev)
Thx
~ Leeza