protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strCustomerid = Request["id"]; display(); }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { CUser l_user = getUser(); if (l_user != null) { if (l_user.f_branch所別名稱.IndexOf("廠") > 0) { _btn小百貨.Visible = false; } else { _btn小百貨.Visible = true; } } else { Response.Redirect("../FrmLogin.aspx"); } 秀出該單位所有未處理工單(); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strBranchid = (Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser).f_branchid所別; string l_strType = Request["type"]; if (!Page.IsPostBack) { //保險介紹只有幾間特定公司 20130411 way if (l_strType.Equals("24")) { CTools.get保險公司介紹(_rdo保險公司, _context); } else { CTools.get保險公司(_rdo保險公司, _context); } _txt工單號碼.Text = CTools.get工單號碼(l_strBranchid); //把前端FrmWorkType.aspx?type= ??? 數字表示變成中文顯示 顯示工單種類中文名稱(l_strType); 初始化(); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_workid = Request["workid"]; CWork l_work = _context.CFactoryManager.CWorkFactory.get工單資訊By單號(l_workid); display明細(l_work); }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_orderid = Request["orderid"]; CKGPartOrderDetail[] l_detail = _context.CFactoryManager. CKGPartOrderDetailFactory.get請購明細ByExchangeID(l_orderid); display明細(l_detail); }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { CTools.get所別(iv_cbo退貨所別, _context); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strworkid = Request["id"]; CWork l_work = Session[l_strworkid] as CWork; display工單(l_work); }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { //_txtBDate.Text = DateTime.Today.ToString("yyyy/MM/dd"); //_txtEDate.Text = DateTime.Today.ToString("yyyy/MM/dd"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!this.IsPostBack) { setYear(); setMonth(); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { CTools.get所別(iv_cbo所別, _context); _txtBDate.Text = DateTime.Today.AddMonths(-1).ToString("yyyy/MM/01"); _txtEDate.Text = DateTime.Today.ToString("yyyy/MM/dd"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); CWork l_work = get登入的工單(); if (!Page.IsPostBack) { display工單(l_work); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); CUser l_user = _context.CFactoryManager.CUserFactory.getTestEIP討論區(); Label l_lb = new Label(); l_lb.Text = l_user.f_userid帳號; PlaceHolder1.Controls.Add(l_lb); }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strWorkid = Request["workid"]; CConstruction[] l_Construction = _context.CFactoryManager.CConstructionFactory.get施工人員明細By單號(l_strWorkid); display(l_Construction); CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_smid = Request["smid"]; string l_type = Request["type"]; string l_strBDate = Request["BDate"]; string l_strEDate = Request["EDate"]; if (!this.IsPostBack) { C欠款紀錄[] l_C欠款紀錄 = _context.CFactoryManager.C欠款紀錄Factory. get欠款紀錄明細(l_smid, l_type, l_strBDate, l_strEDate); display(l_C欠款紀錄); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!this.IsPostBack) { CTools.get所別(_ddl所別, _context); CTools.get使用者等級(_ddl等級); string l_id = Request["smid"]; CUser l_user = _context.CFactoryManager.CUserFactory.get取得使用者by帳號(l_id); display(l_user); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { CTools.加入高輊小百貨產品類別(iv_cbo類別名稱, _context); } CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!this.IsPostBack) { CTools.get所別(_ddl所別, _context); CTools.get使用者等級(_ddl等級); } CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); if (!this.IsPostBack) { CTools.get所別(_ddl所別, _context); _txtBDate.Text = DateTime.Today.ToString("yyyy/MM/dd"); _txtEDate.Text = _txtBDate.Text; } CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strBDate = Request["BDate"]; string l_strEDate = Request["EDate"]; string l_strBranchid = Request["Branchid"]; C各廠介紹獎金[] l_各廠介紹獎金 = _context.CFactoryManager.C各廠介紹獎金Factory. get各廠介紹獎金By明細(l_strBDate, l_strEDate, l_strBranchid); display(l_各廠介紹獎金); CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { iv_context = SealedGlobalPage.getContext(this); string l_strExcel路徑 = @"C:\Inetpub\wwwroot\KGUi\report\upload\KGPoint"; Session.Add(SealedGlobalPage.SESSIONKEY_KGPOINT_EXCEL_LOCATION, l_strExcel路徑); if (!Page.IsPostBack) { 取得資料夾內的檔名(iv_cbo檔案名稱, l_strExcel路徑); } CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strEID = Request["EID"]; string l_strType = Request["Type"]; if (!Page.IsPostBack) { if ("Buy".Equals(l_strType)) { Label1.Text = get列印領料單Html(l_strEID); } else { Label1.Text = get退貨單Html(l_strEID); } } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); string l_strSmid = Request["smid"]; string l_strBDate = Request["BDate"]; string l_strEDate = Request["EDate"]; CWork[] l_Work = _context.CFactoryManager.CWorkFactory. get工單資訊By薪資(l_strSmid, l_strBDate, l_strEDate); display(l_Work); CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { iv_context = SealedGlobalPage.getContext(this); if (!Page.IsPostBack) { string l_strid = Request["id"]; if (l_strid == null || "".Equals(l_strid)) { string l_str = "alert('請先查詢後再進行修改作業');"; ScriptManager.RegisterClientScriptBlock(UpdatePanel1, typeof(UpdatePanel), "OK", l_str, true); return; } 顯示資訊(l_strid); } CUser l_user = Session[SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA] as CUser; if (l_user == null) { Session.Remove(SealedGlobalPage.SESSIONKEY_LOGIN_USER_DATA); Response.Redirect("../../FrmLogin.aspx"); } }
protected void Page_Load(object sender, EventArgs e) { _context = SealedGlobalPage.getContext(this); }