我使adapter.insert和adapter.delete都可以正常工作,但不能与adapter.delete一起使用,即使我只在这里输入参数代码
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) 处理 Button2.Click usersAdp.Fill(userstable) usersAdp.Update(txtid.Text, Me.txtname.Text, Me.txtemail.Text, Me.txtpassword。 Text, Me.txtconfirm.Text, Me.txtcode.Text, Me.CheckBox1.Checked = True) Me.GridView1.DataSource = userstable Me.GridView1.DataBind() End Sub