Dim Result As DialogResultResult = MessageBox.Show("要修改吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question)If Result = DialogResult.Yes Then
Tables("VentorInvoice").AllowEdit = True
End If