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
 when user enter the name of category releted records should be pop up in gridview using asp with c#
Posted by charan on  4/1/2010 4:00:23 PM Category: Asp.Net 2.0
Add to my favorites
Email to friend
hi, iam using asp.net with c#

above the gridview iam using a textbox , when user enters the name of category in the textbox the related records should be pop up in gridview control


can you give me a suitable example which helps me

Post Your Reply Post New Question

 Viewer's Reply
GridView Data Display
Answered By Moderator1 on 4/4/2010 10:02:33 AM
Hi,
You can send the input in textbox as query string to the popup and then make a simple select query to pull the data from the database. Query might be as follows,

Select * from YourCategory Where Name Like '%InputValue%'
or
Select * from YourCategory Where Name = 'InputValue'

Then Bind it to your GridView Value.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Easing the Migration to Microsoft SQL Server 2005
Building a Web Application Security Program
The Art & Science of JavaScript - Free 100 Page Preview!