Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Labelbanji.Text = BanjiInfo.GetBanjiName(int.Parse(Request.QueryString["banjiid"]));
     }
 }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         string banjiid = Request.QueryString["banjiid"];
         Labelbanji.Text = BanjiInfo.GetBanjiName(int.Parse(banjiid));
         BindCeshiChengjiHuizong();
     }
 }
Esempio n. 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Labelstuusername.Text = Request.QueryString["studentusername"];
         Labelbanji.Text       = BanjiInfo.GetBanjiName(int.Parse(Request.QueryString["banjiid"]));
         Labelxingming.Text    = StudentInfo.GetStuXingming(Request.QueryString["studentusername"]);
         BindZyoye();
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Labelbanji.Text     = BanjiInfo.GetBanjiName(int.Parse(Request.QueryString["banjiid"]));
         Labelzuoyename.Text = ZuoyeInfo.getZuoyeName(int.Parse(Request.QueryString["zuoyeid"]));
         DataTable studt = BanjiInfo.GetStudentNameAndUsername(int.Parse(Request.QueryString["banjiid"]));
         ListBox1.DataSource = studt;
         ListBox1.DataBind();
     }
 }
Esempio n. 5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         string banjiid = Request.QueryString["banjiid"];
         string stuun   = Request.QueryString["studentusername"];
         Labelbj.Text    = BanjiInfo.GetBanjiName(int.Parse(banjiid));
         Labelxm.Text    = StudentInfo.GetStuXingming(stuun);
         Labelstuun.Text = stuun;
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        string kechengid = Session["kechengid"].ToString();
        string banjiid   = Request.QueryString["banjiid"];
        string stuun     = Request.QueryString["studentusername"];

        Labelkc.Text = KechengInfo.getKechengname(kechengid);
        Labelbj.Text = BanjiInfo.GetBanjiName(int.Parse(banjiid));
        Labelxm.Text = StudentInfo.GetStuXingming(stuun);
        Labelun.Text = stuun;
        BindDianMingStu();
    }
Esempio n. 7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         string banjiid   = Request.QueryString["banjiid"];
         string kechengid = Session["kechengid"].ToString();
         Labelbj.Text = BanjiInfo.GetBanjiName(int.Parse(banjiid));
         string stuusername = Request.QueryString["studentusername"];
         Labelxm.Text    = StudentInfo.GetStuXingming(stuusername);
         Labelstuun.Text = stuusername;
         BindStuCeshiInfo();
     }
 }
Esempio n. 8
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (Request.QueryString["zuoyeid"] != null && Request.QueryString["banjiid"] != null)
         {
             Labelbanji.Text     = BanjiInfo.GetBanjiName(int.Parse(Request.QueryString["banjiid"]));
             Labelzuoyename.Text = ZuoyeInfo.getZuoyeName(int.Parse(Request.QueryString["zuoyeid"]));
             BindFenxi();
             BindTimu();
             Labelsjrs.Text = ZuoyeInfo.GetZuoyeShangjiaoRenShu(int.Parse(Request.QueryString["zuoyeid"]), int.Parse(Request.QueryString["banjiid"])).ToString();
         }
         else
         {
             Response.Redirect("default.aspx");
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (Request.QueryString["zuoyeid"] != null && Request.QueryString["banjiid"] != null)
         {
             Labelbanji.Text     = BanjiInfo.GetBanjiName(int.Parse(Request.QueryString["banjiid"]));
             Labelzuoyename.Text = ZuoyeInfo.getZuoyeName(int.Parse(Request.QueryString["zuoyeid"]));
             DataTable dt = ZuoyeInfo.GetQuantiStuZuoyeXinxi(int.Parse(Request.QueryString["banjiid"]), int.Parse(Request.QueryString["zuoyeid"]));
             GridView1.DataSource = dt;
             GridView1.DataBind();
         }
         else
         {
             Response.Redirect("default.aspx");
         }
     }
 }