protected void ddlAccountCategory_SelectedIndexChanged(object sender, EventArgs e)
 {
     divError.Visible              = false;
     ddlAccountItem.DataSource     = AccountItems.GetDSLAccountItem(ddlAccountCategory.SelectedValue.ToString());
     ddlAccountItem.DataValueField = "pvalue";
     ddlAccountItem.DataTextField  = "ptext";
     ddlAccountItem.DataBind();
 }
    public void LoadDdls()
    {
        ddlFiscalYear.DataSource     = FiscalYear.GetDSLAFiscalYears();
        ddlFiscalYear.DataValueField = "pvalue";
        ddlFiscalYear.DataTextField  = "ptext";
        ddlFiscalYear.DataBind();

        ddlAccountCategory.DataSource     = AccountCategory.GetDSLAccountCategory();
        ddlAccountCategory.DataValueField = "pvalue";
        ddlAccountCategory.DataTextField  = "ptext";
        ddlAccountCategory.DataBind();

        ddlAccountItem.DataSource     = AccountItems.GetDSLAccountItem(ddlAccountCategory.SelectedValue.ToString());
        ddlAccountItem.DataValueField = "pvalue";
        ddlAccountItem.DataTextField  = "ptext";
        ddlAccountItem.DataBind();
    }