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'
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

theLizardRank #1,079 · 1.8K reputationPosted Feb 20, 2017, 10:19 AM EST
Carlos kambuiRank #2,642 · 528 reputationPosted Feb 20, 2017, 5:24 AM EST