Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Get row index in row command event
jaymeen patel
13y
2.8k
1
Reply
GridViewRow row = (GridViewRow)((Control)e.CommandSource).Parent.Parent;
int i=row.RowIndex;
you can also find all controls in obtained "gridviewriw" object
thatnk you,
jaymeen patel
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
validate asp.net page using external javascript file
Using WPF, draw triangle with different colors at vertices