Click here to Skip to main content
11,641,971 members (68,995 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#
As i am not a coder i am a learner. I am making a software based on winform which will take data from windows forms and saves in sql server. I just learned about the best way to retrive and show the user the table data is in datagrid manner. But i cant find any search and filtering facilty in it. Can any one help me to go through the simplest and best article of filtering search facility, that can i simply implement in my small scale app.
Posted 4-Oct-12 4:07am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

simplest way just filter the datasource. for refrence SqlDataSource.FilterExpression Property
qureshiaquib at 4-Oct-12 10:26am
i mean how to filter the data or to have search bar. Filtering include values must be partitioned by there data types for example i am using date in my table so i want to filter and show all the date which have been added today.
U have given xample of asp. Buddy
can you suggest some simple thing like article.. From which i can understand easily
sysandeepkumar at 4-Oct-12 10:33am
for windows application use Binding Data Source, refer Binding Source Filter
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

If you are using BindingSource then you may try its Filter property
qureshiaquib at 4-Oct-12 10:27am
can you elaborate. Please

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

  Print Answers RSS
0 DamithSL 268
1 OriginalGriff 150
2 Sergey Alexandrovich Kryukov 134
3 Mika Wendelius 130
4 Afzaal Ahmad Zeeshan 89
0 Mika Wendelius 460
1 OriginalGriff 265
2 DamithSL 258
3 CPallini 169
4 Afzaal Ahmad Zeeshan 149

Advertise | Privacy | Mobile
Web01 | 2.8.150731.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100