protected void btnAddSave_Click(object sender, EventArgs e) { BusinessLogicLayer.QuoteProduct objex = new BusinessLogicLayer.QuoteProduct(); objex.propProdId = txtProdId.Text; objex.propQouteNo = Convert.ToInt32(lblQouteNo.Text); objex.propProdDesc = txtProdDesc.Text; objex.propFinish = txtFinish.Text; objex.propProdQty = Convert.ToInt32(txtQty.Text); objex.propProdPrice = Convert.ToDecimal(txtPrice.Text); objex.SaveQProd(); if ( lblFullAmt.Text == string.Empty) { Famt = Convert.ToDecimal(txtPrice.Text); } else { Famt = Convert.ToDecimal(lblFullAmt.Text) + Convert.ToDecimal(txtPrice.Text); } lblFullAmt.Text = Convert.ToString(Famt * Convert.ToInt32(txtQty.Text)); //it populates fine though LblDep.Text = Convert.ToString(Convert.ToDecimal(lblFullAmt.Text) / 2); txtProdlist.Text = txtProdlist.Text + "\r\n" + lblProdIDmod.Text + " " + txtProdDesc.Text + " " + txtQty.Text + " " + txtFinish.Text + " " + txtPrice.Text; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)