Esempio n. 1
0
        private void GenerateMenu()
        {
            var rBiz = new ReportMenuBiz();
            var lst  = rBiz.GetMenuList(HttpContext.Current.User.Identity.Name);

            rptMain.DataSource = lst;
            rptMain.DataBind();
        }
Esempio n. 2
0
        private void SetReportMenu()
        {
            var rBiz = new ReportMenuBiz();
            var lst  = rBiz.GetMenuList(HttpContext.Current.User.Identity.Name, string.IsNullOrWhiteSpace(txtStaffTypeId.Text.Trim()) ? 0 : int.Parse(txtStaffTypeId.Text.Trim()));

            rptMain.DataSource = lst;
            rptMain.DataBind();
        }