ASP .Net: Get Column-name and Row Index of Gridview

Posted on 2011-02-21
Last Modified: 2012-05-11

Can somebody help me to Get Column-name and Row Index of Gridview when any of its cell gets clicked? Also, how to add "OnClick" attribute in it to use the ColumnName and Row Index for the generation of an other Gridview.

Any relevant help will be highly encouraged.
Question by:dev_intagleo

Expert Comment

Comment Utility
This seems to hit at what you are wanting:

I think that should get you going.
LVL 19

Accepted Solution

Manoj Patil earned 200 total points
Comment Utility

Expert Comment

Comment Utility
Here it describes entire thing...

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now