vb.net 提示未将对象引用设置到对象的实例。
'删除信息:把要删除的信息从数据库中删除, Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click DataSet11.Tables("Patient").Rows(DataGridView1.CurrentRow.Index).Delete() '此句报错 sqlDataAdapter1.Update(DataSet11, "Patient") TextBox1.Text = "" TextBox2.Text = "" TextBox3.Text = "" TextBox4.Text = "" TextBox5.Text = "" TextBox6.Text = "" TextBox7.Text = "" TextBox8.Text = "" TextBox9.Text = "" = "" PictureBox1.Image = Nothing End Sub