0
Voici le code pour buttonclick dans gridview.Pour obtenir l'argument command dans l'événement rowdatabound dans gridview
Protected Sub lnkChangeStatus_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim gvr As GridViewRow = TryCast(DirectCast(sender, LinkButton).Parent.Parent, GridViewRow)
Dim lngProfileId As Long = Convert.ToInt64(gvwBusinessProfiles.DataKeys(gvr.RowIndex).Value)
End Sub
Je veux obtenir CommandArgument de lnkChangeStatus
dans ses click.Is il possible