UpdateAllPL objPL=new UpdateAllPL(); objPL.PurchaseAmount=tbPurchase.Text; objPL.SoldAmount=tbSold.Text; objPL.Profit=tbProfit.Text; objPL.Date=tbDate.Text; UpdateAllBLL objBLL=new UpdateAllBLL(); objBLL.UpdateCurrencySale(objPL); objPL.aCash=tbProfit.Text; objPL.aDate=tbDate.Text; objBLL.UpdateAssets(objPL); lblMessage.Text="Updated SuccessFully...";