private void ReceivePaymentWhenActive() { StakeInfoBLL stakeInfo = new StakeInfoBLL(); UserAccountBLL UserAccount = new UserAccountBLL(); DataTable dt = new DataTable(); dt = stakeInfo.GetStakeInfoById(ddlStakeList.SelectedValue); UserAccount.InsertReceivePaymentWhenActive((string)LumexSessionManager.Get("ActiveUserId"), txtbxReferId.Text.Trim(), dt.Rows[0]["Commission"].ToString()); }