Пример #1
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");
         }
     }
 }