protected void btnAddFunds_Click(object sender, EventArgs e) { Customer c = (Customer)Session["User"]; if (CheckPassword()) { if (CheckFundsBeingAdded()) { apic.FundAccount(c.WalletID, txtAddFunds.Text); } } }
protected void btnFund_Click(object sender, EventArgs e) { //I jerry rigged it to give out a walletuser to fix the problem here. Not sure if it works to well though. -Ieuan WalletUser funded = apc.FundAccount("vwID", txtFundAmount.Text); }