0
以下は、gridviewのbuttonclickのコードです。gridviewのrowdataboundイベントでコマンド引数を取得する
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
私はEventHandlerの(クリックに対するとしてコマンド・イベント)の構文は以下のようにする必要があります推測がそのclick.Isに