AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 Searching in GridView
Posted by ranjeet on  9/17/2009 8:29:17 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
How we search text in grid view..

Post Your Reply Post New Question

 Viewer's Reply
Do the Search in Database table
Answered By Moderator1 on 9/18/2009 10:52:18 AM
Hi,

GridView is a databind control. Instead of searching for the text in GridView, you have to write sql query that searches in the database table that binds with the GridView, and bind the recordset to the GridView control.

For sample code, you can read our article titled "Asp.Net GridView Control with Multiple Filters" at url http://www.aspdotnetcodes.com/Asp.Net_GridView_Filter.aspx

Thanks.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Website Magazine
Everything You Know About CSS Is Wrong! - Free 37 Page Preview!
Take Advantage of Oracle's 2 Day DBA Course