Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
4141 Points
931 Posts
Feb 20, 2012 05:19 AM|LINK
suryaacd Though there is value in the gridview cell, gvStudents.SelectedRow.Cells[0].Text is showing null.
Though there is value in the gridview cell, gvStudents.SelectedRow.Cells[0].Text is showing null.
Kindly make sure that you are getting an Index of the selected row in gvStudents.SelectedRow .
Does your dezired value is in the first column? If not then use respected cell index in the quoted statement.
Sum8
Contributor
4141 Points
931 Posts
Re: How to select a row from GridView
Feb 20, 2012 05:19 AM|LINK
Kindly make sure that you are getting an Index of the selected row in gvStudents.SelectedRow .
Does your dezired value is in the first column? If not then use respected cell index in the quoted statement.
Sumit Pathak
------------------
ThisPost = Helped == True ? "Mark As Answer" : "Elaborate your problem in more details"