Can someone breakdown the actual filtering process for me? Not how to do it, but what actually happens when you filter.
Here is my situation and why I ask. I have a grid that displays a list of requests. Requests are categorized by type and my initial grid display is limited to this type based on a parameter in the url. For example, requests.aspx?queue=In Process.
My code behind picks up the parameter "In Process" and executes a particular SQL string based on this parameter For example, SELECT * where type='In Process'.
So all of this works great except that when someone selects a filter, somehow my original SQL statement is being overridden and it's filtering based on a different SQL string in my code...not the original.
The parameter that is read from the URL string is set to a public variable, so it's readable by all the subs in my code.
Not sure if this makes sense...I'm just trying to track down where in the filtering process it's requerying the database and how it's determining which SQL string to use.
Let me know if you have any ideas. Thanks.
Here is my situation and why I ask. I have a grid that displays a list of requests. Requests are categorized by type and my initial grid display is limited to this type based on a parameter in the url. For example, requests.aspx?queue=In Process.
My code behind picks up the parameter "In Process" and executes a particular SQL string based on this parameter For example, SELECT * where type='In Process'.
So all of this works great except that when someone selects a filter, somehow my original SQL statement is being overridden and it's filtering based on a different SQL string in my code...not the original.
The parameter that is read from the URL string is set to a public variable, so it's readable by all the subs in my code.
Not sure if this makes sense...I'm just trying to track down where in the filtering process it's requerying the database and how it's determining which SQL string to use.
Let me know if you have any ideas. Thanks.