Hi,
How can i get the selected row at the row databound event in Gridview control ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Sep 23, 2011, 2:46 AM
//Write Inside your row databound event
If e.Row.RowType = DataControlRowType.DataRow Then
Dim email As String = e.Row.Cells(3).Text; // Get Your Row Text and Cell(3) is your Column index
End If
------------------------------------------------------------
If this helps you, then mark as "Correct Answer"
Thank You
Nethra R SPosted Sep 23, 2011, 5:13 AM
Do you understand what it means by selected row? Row will be entire only
Dorababu MekaPosted Sep 23, 2011, 2:33 AM
Nethra R SPosted Sep 23, 2011, 2:29 AM
Is my question not clear?
Dorababu MekaPosted Sep 23, 2011, 1:40 AM