| | |
| | | { |
| | | foreach (DataGridViewRow item in grdMain.Rows) |
| | | { |
| | | if (item.Cells[2] == null|| item.Cells[2].Value == null) |
| | | if (item.Cells[2] == null|| item.Cells[2].Value == null || item.Cells[6] == null || item.Cells[6].Value == null) |
| | | { |
| | | if(DBUtility.ClsPub.isLong(item.Cells[2].Value)!=0 && DBUtility.ClsPub.isLong(item.Cells[6].Value) == 0) |
| | | { |
| | | MessageBox.Show("没æç»´æ¤çç»ï¼"); |
| | | } |
| | | //MessageBox.Show("") |
| | | continue; |
| | | } |
| | | var remark = item.Cells[5].EditedFormattedValue==null?"":item.Cells[5].EditedFormattedValue.ToString(); |