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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
theLizardPosted Feb 20, 2017, 3:19 PM
Carlos kambuiPosted Feb 20, 2017, 10:24 AM