PC Review


Reply
Thread Tools Rate Thread

Best way to search GridView

 
 
=?Utf-8?B?TmF0ZURhd2c=?=
Guest
Posts: n/a
 
      25th Nov 2005
I would like to show all the data in a table to users, they can then select
from a drop down list the column they would like to search. Then enter the
criteria they would like to search by. When they hit submit the GridView will
be reloaded but only with the records that match the search criteria.

For example I have a table that has a list of students, the fields in the
table are ID#, First Name, and Last Name. So, say they want to find a student
with the first name of Sam they would select ‘First Name’ from the drop down
and then enter Sam in the text field. When they hit submit the GridView will
be reloaded with only the records with the first name of Sam.

Any recommendations on how I can do this? Thanks in advanced…

Nathan Rover

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gridview search issue JohnE Microsoft ASP .NET 8 9th Sep 2009 03:56 AM
Looking for Live Search capability in Gridview or ListView 3.5 ? Luqman Microsoft ASP .NET 1 19th May 2008 03:19 AM
Search Criteria in gridview =?Utf-8?B?U2VvayBCZWU=?= Microsoft Dot NET 0 3rd Apr 2006 03:32 AM
Search engine-friendly gridview =?Utf-8?B?QnJhbmRvbg==?= Microsoft ASP .NET 0 10th Dec 2005 12:16 AM
search and display from sql2000 to gridview syncwa Microsoft ASP .NET 0 9th Nov 2005 07:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:58 AM.