如果在一行的某个单元格为空时,不能增加行。这个代码如何设置
BeforeAddDataRow
If e.DataTable.DataRows(2).IsNull("销售数量") Then e.Cancel = TrueEnd If