.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

GridView event handler

Posted By: priya     Posted Date: July 26, 2010    Points:2   Category :ASP.Net
I have a Gridview, the first column contains links (say employee Name) when the page is loaded the datadrid is filled.

When i click on any of the first column elements i.e., employee Name it should redirect to another page, which is a search page...
and in that search page i want the Employee ID to be prefilled.. so i am thinking of passing the EmployeeName as the query string so that corresponding ID can retrieved...

But i am stuck with the gridview...which eventhandler to use and how to make the entire column as link elments. and how this can be achieved

Thanks in advance

Author: Syed Shakeer Hussain             
Posted Date: July 26, 2010     Points: 5   

Hi Priya,
Check the following link for how to get the id based on selecting the HyperLink on Gridview..


Author: BangaruBabuPureti             
Posted Date: July 27, 2010     Points: 5   

Check Out this Link With Relevant Example--I Think it will definitely helps U


BangaruBabu Pureti

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend