private void ConfirmStockMovement(object sender, EventArgs e)
 {
     for (int i = 0; i < gridConfirmationView.RowCount; i++)
     {
         DataRow dr = gridConfirmationView.GetDataRow(i);
         if (Convert.ToBoolean(dr["IsSelected"]))
         {
             InternalTransfer it = new InternalTransfer();
             it.LoadByPrimaryKey(Convert.ToInt32(dr["ID"]));
             it.Status = 1;
             it.Save();
         }
     }
     BindConfirmationGrid();
 }
 private void btnConfirm2_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < gridView1.RowCount; i++)
     {
         DataRow dr = gridView1.GetDataRow(i);
         if (Convert.ToBoolean(dr["IsSelected"]))
         {
             InternalTransfer it = new InternalTransfer();
             it.LoadByPrimaryKey(Convert.ToInt32(dr["ID"]));
             it.Status = 1;
             it.Save();
         }
     }
     XtraMessageBox.Show("Confirmation Successful", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
     gridControl1.DataSource = BLL.InternalTransfer.GetAllTransfers(radioGroup1.EditValue.ToString());
 }