Dim t As Table = e.Form.Controls("Table1").TableDim dt As DataTable = t.DataTabledim filter as string = "标注 = true and 申报进度 = '待接收' and 全称 = '" & _UserZName & "'"
dim cnt as integer = dt.Compute("count([案号])",filter )
dt.DeleteFor("标注 = true and 申报进度 = '待接收' and 全称 = '" & _UserZName & "'")
msgbox("已删除 " & cnt & " 行")