Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 22nd, 2008, 05:25 AM
Registered User
Join Date: Jul 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to display the GridView.

Hi Guys
I am Created one Textbox with HyperLink.I want to display the GridView according to Textbox text.If the user enter name of employee in the textbox and click the HyperLink means,The GridView Display the name of the Employee who are having the same name as in the Textbox.text,I want the popup window to display the Gridview using javascript...
...How to do that Please give any Sample code....


Old July 23rd, 2008, 04:08 AM
Friend of Wrox
Join Date: Nov 2007
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts

You will have to pass the textbox value to the next page via querystring then have your object data source query your database based on that query string...

or you could just keep it all on the same page and not pass a querystring or pop up a window, just to keep it easier and more streamlined to the client. Then all you would have to do is change the hyperlink to a button and then on the button click have the datasource bind using the textbox value and then have the gridview bind....

Jason Hall

Similar Threads
Thread Thread Starter Forum Replies Last Post
gridview image display Sheraz Khan ASP.NET 2.0 Basics 1 September 2nd, 2007 11:37 PM
Display image in gridview Sheraz Khan ASP.NET 2.0 Professional 0 August 30th, 2007 10:36 PM
Gridview number of records display jodojan ASP.NET 2.0 Basics 3 April 14th, 2007 05:29 AM
display sum in footer of gridview sarah lee ASP.NET 1.0 and 1.1 Basics 3 December 27th, 2006 12:36 PM
GridView doesn't display bnorg ASP.NET 2.0 Professional 1 December 1st, 2006 10:14 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.