Click here to Skip to main content
15,944,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am taking template fielt as follows
<asp:LinkButton ID="LinkAssignButton" runat="server"
Text="Take" Visible="true">
and on row command event how to get gridview whole row value of all cells in it in different variable
//in code behind rowcommand event
 Dim _NameOfCommand As String = e.CommandName
        If _NameOfCommand = "Assign" Then

        End If

try this link

Gridview Row Index [^]
Share this answer
Other way is you can put the what ever row data you needed in the command Argument of the link button and get it in the row command event.
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