Dim Result As DialogResult Result = MessageBox.Show("确认要删除吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) If Result = DialogResult.Yes Then
Tables("yuanzhi").Current.Delete MessageBox.Show("已经删除.","提示") Else MessageBox.Show("按错了,不删除.","提示") End If