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();
        fundCode               = bcContent.FundCode.ToString();
        branchCode             = bcContent.BranchCode.ToString();
        spanFundName.InnerText = opendMFDAO.GetFundName(fundCode.ToString());
        fundCodeTextBox.Text   = fundCode.ToString();
        branchCodeTextBox.Text = branchCode.ToString();
        CDSStatus              = bcContent.CDS.ToString().ToUpper();

        if (!IsPostBack)
        {
            incomeTaxFYDropDownList.DataSource     = reportObj.getDtFY(fundCode);
            incomeTaxFYDropDownList.DataTextField  = "F_YEAR";
            incomeTaxFYDropDownList.DataValueField = "DIVI_NO";
            incomeTaxFYDropDownList.DataBind();

            fyPartDropDownList.DataSource     = reportObj.getDtFYPart(fundCode);
            fyPartDropDownList.DataTextField  = "FY_PART";
            fyPartDropDownList.DataValueField = "FY_PART";
            fyPartDropDownList.DataBind();
        }
    }