예제 #1
0
    protected void Add_Click(object sender, EventArgs e)
    {
        PortfolioService objectService = new PortfolioService();

        String strusername = Session["username"].ToString();

        String strcompany = lblCompany.Text;

        String strcountry = lblCountry.Text;

        String straddedportfolio = objectService.AddStockToCustomerPortfolio(strusername, strcompany, strcountry);

        Response.Redirect("CustomerPortfolio.aspx");

     }