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
Building a Web Application Security Program
The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition - Free 207 Page Preview!
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!