Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
filtering gridview with two textboxes in c#
prasanna shah
Jul 28 2015 10:18 PM
378
Reply
dear friend,
i have two textboxes for id and name and below the textboxes i have a gridview. So i want to filter the gridview by entering id or name or both. But if i enter id then name, the data should not be appeared in gridview if both id and name do not match. It should only show the data if both id and name matches. I did it on text change event.
for example, sunil chaudhari has id 1. If i put 1 in id tetxtbox it shows the data, but if i put ramesh in name textbox then the id and name does not match and the data should not be shown on the gridview.
please any could help me. I would be very thankful.
thank you
prasanna
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Control Image Sharpness and Zoom using asp.net
automobile service point monitoring system project in C#.net