Beispiel #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        Permissions.ComRedirect(Page, Permissions.redirUrl);
        Permissions.CheckManagePermission(EnumCompanyPermission.FinanceHuiDuiChongHong);
        if (!this.IsPostBack)
        {
            if (Request.QueryString["qs"] != null)
            {
                ViewState["qs"]     = Request.QueryString["qs"].ToString();
                ViewState["number"] = Request.QueryString["number"].ToString();

                this.Number.Text = ViewState["number"].ToString();

                this.money.Text = ReleaseBLL.getChongHong(ViewState["number"].ToString(), Convert.ToInt32(ViewState["qs"])).ToString("f2");
            }
        }

        Translations();
    }