Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to search the data from GridView by cell click event

I have hyperlinks for column 3rd in gridview


| idno | student name

Select 1 2




I need to search the data, by just clicking cell[2] students names.

Suppose if the user clicks studentname for first row.....it must show all the records from that GridView of that particular student.

Please help me ...thanx Thanks.
Posted
Updated 10-Jun-12 6:28am
v2

1 solution

use gridview's rowcommand event or use selected index change event
i suppose you'll be able to do it easily using rowcommand event

here's a link that may help you

http://www.aspsnippets.com/Articles/ASP.Net-GridView---Get-Row-Index-on-RowCommand-and-Click-events.aspx[^]

thanks..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900