private void BarCodeGrid_KeyDown(object sender, KeyEventArgs e)
        {
            ProjectFunctions.DeleteCurrentRowOnKeyDown(BarCodeGrid, BarCodeGridView, e);
            dt.AcceptChanges();
            decimal QtySum = 0;

            foreach (DataRow dr in dt.Rows)
            {
                QtySum = QtySum + Convert.ToDecimal(dr["SFDSCANQTY"]);
            }
            lblTotQty.Text = QtySum.ToString("0");
        }
Exemple #2
0
 private void InfoGridView_KeyDown(object sender, KeyEventArgs e)
 {
     ProjectFunctions.DeleteCurrentRowOnKeyDown(InfoGrid, InfoGridView, e);
     dt.AcceptChanges();
 }