Ejemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        UnitHolderRegistration regObj = new UnitHolderRegistration();

        if (BaseContent.IsSessionExpired())
        {
            Response.Redirect("../Default.aspx");
            return;
        }
        bcContent = (BaseClass)Session["BCContent"];

        userObj.UserID = bcContent.LoginID.ToString();

        // spanFundName.InnerText = opendMFDAO.GetFundName(fundCode.ToString());
//            fundCodeTextBox.Text = fundCode.ToString();
//            branchCodeTextBox.Text = branchCode.ToString();


        if (!IsPostBack)
        {
            fundNameDropDownList.DataSource     = opendMFDAO.dtFundList();
            fundNameDropDownList.DataTextField  = "FUND_NM";
            fundNameDropDownList.DataValueField = "FUND_CD";
            fundNameDropDownList.DataBind();

            branchNameDropDownList.DataSource     = opendMFDAO.dtBranchList();
            branchNameDropDownList.DataTextField  = "BR_NM";
            branchNameDropDownList.DataValueField = "BR_CD";
            branchNameDropDownList.DataBind();

            IDbankNameDropDownList.DataSource     = opendMFDAO.dtFillBankName("  CATE_CODE IN (2,3) ");
            IDbankNameDropDownList.DataTextField  = "BANK_NAME";
            IDbankNameDropDownList.DataValueField = "BANK_CODE";
            IDbankNameDropDownList.DataBind();

            branchGroupDropDownList.DataSource     = reportObj.dtFillBranchGroup();
            branchGroupDropDownList.DataTextField  = "BR_SHORT_NM";
            branchGroupDropDownList.DataValueField = "ID";
            branchGroupDropDownList.DataBind();
        }
    }