我是用buttonculoms的,代码里面添加了一个事件, Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand If e.CommandName <> "Page" Then Response.Redirect("details.aspx?id='"+...) End If End Sub