Dim bxmx As WinForm.Table = e.Form.Controls("tab_bxmx") If bxmx.Table.Current IsNot Nothing Then If MessageBox.Show("是否删除选定多行?","提示",MessageBoxButtons.YesNo,MessageBoxIcon.Question)=DialogResult.Yes Then For i As Integer = bxmx.Table.Rows.count-1 To 0 Step-1 Dim r3 = bxmx.Table.Rows(i) If r3("选择")=True Then r3.Delete End If Next Else Return End If End If