I have a gridview that is bound to an objectdatasource. I want to add a search box and button to my page. I have threfore added a filterexpression to the gridview. Firstly the Like statement in my filterexpression does not appear to be working. Secondly, how do I get the search button to refresh for a new search?
filterexpression="ORG_NAME LIKE '{0}'"
>
<filterparameters>
<asp:ControlParameter ControlID="txtSearch" PropertyName="Text" />
</filterparameters>
filterexpression="ORG_NAME LIKE '{0}'"
>
<filterparameters>
<asp:ControlParameter ControlID="txtSearch" PropertyName="Text" />
</filterparameters>