If e.DataRow.Isnull("业务名称") Then
Dim fs As integer = DataTables("机房板盘端子台帐表").Compute("Count(_Identify)","机房名称 = '" & dr("机房名称") & "' and 机柜编号 = '" & dr("机柜编号") & "' And 板盘名称 = '" & dr("板盘名称") & "' ")
If fdr >1 Then
MessageBox.Show("该设备配有板件,不能删除!!!")
e.Cancel = True
End If
End If