Click here to Skip to main content
Rate this: bad
good
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.
Thanks
Posted 4-Oct-12 4:07am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

simplest way just filter the datasource. for refrence SqlDataSource.FilterExpression Property
  Permalink  
Comments
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
good
Please Sign up or sign in to vote.

Solution 3

If you are using BindingSource then you may try its Filter property
  Permalink  
Comments
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 OriginalGriff 335
1 Nirav Prabtani 252
2 Richard Deeming 215
3 CHill60 170
4 _Amy 145
0 OriginalGriff 8,104
1 Sergey Alexandrovich Kryukov 7,045
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2014
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