Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
' Convert the row index stored in the CommandArgument
' property to an Integer.
Dim index As Integer = Convert.ToInt32(e.CommandArgument)
' Retrieve the row that contains the button clicked
' by the user from the Rows collection.
Dim row As GridViewRow = GridView1.Rows(index)
Dim ss, ss1 As String
ss = CType(row.Cells(0).Controls(0), LinkButton).Text'获得LinkButton的值
ss1 = row.Cells(1).Text '获得boundfield的值
End Sub