Carlos kambui

Carlos kambui

  • NA
  • 499
  • 126.8k

Rectify the codes below

Feb 20 2017 9:53 AM
if ((row["stockcode"] == txProduct.product_code) & (row["saved"] = false))
{
row["qty"] = Convert.ToInt32(row["qty"]) + 1;
//sumordertotal();
poledisplay(txProduct.product_name, Convert.ToDouble(txProduct.product_selling_price), Convert.ToDouble(txtTotalsale.Text.ToString()), 0, false);
return;
}
 i get this error
Operator '&' cannot be applied to operands of type 'bool' and 'object'
 

Answers (2)