Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string y = Session["stuid"].ToString().Trim();

            Liebiao.DataSource = StudentBLL.GetALL();
            Liebiao.DataBind();
        }
        protected void Xianshi_Click(object sender, EventArgs e)
        {
            string condition1 = "未审批";

            Liebiao.DataSource = VacationBLL.GetALL(condition1);
            Liebiao.DataBind();
            Liebiao2.DataSource = VacationBLL.VacationGet2(condition1);
            Liebiao2.DataBind();
        }
        protected void Chxun_Click(object sender, EventArgs e)
        {
            string condition1 = "未审批";

            Liebiao.DataSource = VacationBLL.OneVacationGet(TextBox1.Text, condition1);
            Liebiao.DataBind();
            Liebiao2.DataSource = VacationBLL.VacationGet(TextBox1.Text, condition1);
            Liebiao2.DataBind();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            string y          = Session["stuid"].ToString().Trim();
            string condition1 = "未审批";

            Liebiao.DataSource = VacationBLL.GetALL(condition1);
            Liebiao.DataBind();
            Liebiao2.DataSource = VacationBLL.VacationGet2(condition1);
            Liebiao2.DataBind();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            string y = Session["stuid"].ToString().Trim();

            //  if (!IsPostBack)
            //  {
            x = StudentBLL.FindAboutId(getId());
            setStudent(x);
            Liebiao.DataSource = VacationBLL.VacationGet3(getId());
            Liebiao.DataBind();
            //    }
        }
Esempio n. 6
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string y = Session["stuid"].ToString().Trim();

            if (!IsPostBack)
            {
                try
                {
                    Liebiao.DataSource = AdminBLL.adminList();
                    Liebiao.DataBind();
                }
                catch
                {
                    Response.Write("<script>alert('参数错误');history.back();</script>");
                }
            }
        }
Esempio n. 7
0
 protected void Xianshi_Click(object sender, EventArgs e)
 {
     Liebiao.DataSource = StudentBLL.GetALL();
     Liebiao.DataBind();
 }
Esempio n. 8
0
 protected void Chxun_Click(object sender, EventArgs e)
 {
     Liebiao.DataSource = StudentBLL.OneStudensGet(TextBox1.Text);
     Liebiao.DataBind();
 }
Esempio n. 9
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Liebiao.DataSource = StudentBLL.GetALL();
     Liebiao.DataBind();
 }
Esempio n. 10
0
 protected void Xianshi_Click(object sender, EventArgs e)
 {
     Liebiao.DataSource = AdminBLL.adminList();
     Liebiao.DataBind();
 }
Esempio n. 11
0
 protected void Chxun_Click(object sender, EventArgs e)
 {
     Liebiao.DataSource = AdminBLL.OneadminList(TextBox1.Text);
     Liebiao.DataBind();
 }