Click here to Skip to main content
15,946,525 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day,

Does any one know how I would permantly filter a grid dependent on an Integer ?

I know that their are filter options on grids but I was trying to work out how to permantly filter a grids values dependent on an ID present in a text box.

I use a data access layer (OpenAccess)

Kind regards,


1 solution

Could you tell us exactly how the DataSource Object looks like? You could probably use a control parameter for the select method.

Maybe something like this in your DataSourceObject
  <asp:formparameter name="Filter"formfield="TxtFilter" />

Your Selectmethod would need the Parameter Filter for it to work.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900