@@ -1835,6 +1835,10 @@ namespace UAS_LabelMachine
{
BoxCode = BoxCode + 1;
}
+ else if (LabelInf.Rows[i].Cells["pib_prodcode"].Value.ToString() != LabelInf.Rows[i + 1].Cells["pib_prodcode"].Value.ToString())
+ {
+ BoxCode = BoxCode + 1;
+ }
sdh.BatchInsert("prodiobarcode", LabelInf.DataSource as DataTable);