Dim row As GridViewRow = CType(CType(e.CommandSource, Button).NamingContainer, GridViewRow)'取得當前行Dim rowIndex As Integer = row.RowIndex'取得行號 相关文章: