It is very common to come up with ways to filter data.
As an example, you could do it like this:
ClientSearch.aspx?Client.ClientID='ssw'&Client.CoName='S'
Figure: Filtering Data
This allows you to easily extract fields and values, but it only works for the fields you hard code. You could get around it by writing complex code to build a SQL query or ignore the ones that don't match.
But this gives exact matches. E.g.:
ClientID=ssw
What if you want to give the ability to allow the user to be able to use a like. E.g.:
ClientID like '%ssw%'
Well then I could add something like:
ClientSearch.aspx?Client.ClientID=ssw&Client.ClientID.SearchMode=OR
But why do this when a WHERE clause in SQL can do all this. E.g.:
ClientSearch.aspx?Where=Client.ClientID%20like%20'%ssw%'
Figure: Similar matches
The PROS for do this are:
Request.QueryString("Where")
The Cons: