Protected Sub GridView1_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles GridView1.RowUpdating 'Find Controller Dim tb As TextBox = CType(GridView1.Rows(e.RowIndex).FindControl("TextBox1"), TextBox) If tb.Text = "" Then ...略... End Sub
全站熱搜