|
Question : Grid View filtering
|
|
I am getting closer to figuring out how to filter with the dropdownlist and the Data grid but I am still not gettting it. Currently I can only filter on dropdown list (ddlDivStatus). The others do not work so I can't get to the mulitple dropdown filtering that I want to use. Also on the load I have an "ALL" value which when selected I would like all records to show. Please help me with this. I have been searching endlessly for a solution.
connectionstring="<%$ ConnectionStrings:CompEvents_DSNConnection %>" ProviderName="<%$ ConnectionStrings:CompEvents_DSNConnection.ProviderName %>" SelectCommand="SELECT * FROM [Events]" filterexpression="DivStatus='{0}*'" > PropertyName="SelectedValue" />
|
|
Answer : Grid View filtering
|
|
Sorry copied your solution so the filter expression should be changed to be in line with the parameters or the parameters should be swapped around to suit the expression. i.e. in the last post you had ddlDMA as your first parameter which is what my filter expression caters for.
Enjoy.
|
|
|