Click here to Skip to main content
16,012,223 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
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

simplest way just filter the datasource. for refrence SqlDataSource.FilterExpression Property
 
Share this answer
 
Comments
shaikh-adil 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
Sandeip Yadav 4-Oct-12 10:33am    
for windows application use Binding Data Source, refer Binding Source Filter
If you are using BindingSource then you may try its Filter property
 
Share this answer
 
Comments
shaikh-adil 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900