2
Answers

Rectify the codes below

Carlos kambui

Carlos kambui

7y
253
1
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)