The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Quick way to Filter data in GridView in ASP.NET SQL Server DB
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

mz dashtiPosted Jul 7, 2014, 9:47 AM
hi, how do can search data type integer in gridview?
JudyPosted May 23, 2013, 2:20 PM
LOVED IT!! This was what I wanted to add to my form. Your directions were very clear and it worked perfect! Not too complicated for a newbie like me. Thanks!
sarvenaz HoodehshenasPosted Jul 24, 2012, 5:19 AM
Hi ,I used your code and it was very helpful,but when I type a name in text box for example "Anna" I encounter the error missing the the operand after 'Anna' . What can I do to fix the problem?
sarvenaz HoodehshenasPosted Jul 24, 2012, 5:16 AM
Hi ,I used your code and it was very helpful,but when I type a name in text box for example "Anna" I encounter the error missing the the operand after 'Anna' . What can I do to fix the problem?
abdul muqeetPosted May 23, 2012, 2:29 AM
i am waiting bro just tell me , i am stuck
abdul muqeetPosted May 23, 2012, 2:27 AM
bro just tell what should i do for Int , i will do it , just give me the ides
abdul muqeetPosted May 22, 2012, 5:39 AM
bro can you please show me how to do it for Int.
abdul muqeetPosted May 22, 2012, 4:58 AM
please give me solution , i would be very help full for me , i am new i serching every thing on net i have to get experience ,,.. and also if my grid view is connected in inner join will it work same as its working with one table??? can you please show me how can i filter Int or numeric in my grid view...
Abhimanyu K VatsaPosted May 22, 2012, 4:49 AM
@abdul: in this example i've all fiend in varchar type. you need to go for some workaround.
abdul muqeetPosted May 22, 2012, 4:42 AM
I have used your code it is awesome but its showing some problem for filtering numeric , when i filter the data its showing certain error , -->>Exception Details: System.Data.EvaluateException: Cannot perform 'Like' operation on System.Int32 and System.String. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. can you please show me the solution .. please
Pradip PandeyPosted Oct 12, 2011, 4:56 AM
Good for filtering data in GridView.
Ervin RamosPosted Oct 10, 2011, 2:41 PM
Hi!! Abhimanyu great work !!!!
Michell JohnsonPosted Oct 10, 2011, 2:41 PM
Hi, abhimanyu have a great article really , I also trying to do this with XML database