protected void Page_Load(object sender, EventArgs e) { this._FP = new FpBase(this, new EventHandler(TrustLink_OperDlgPostEvent)); if (!IsPostBack) { ArrayList listLoacaltype = SimpleOrmOperator.QueryConditionList <FpLocalType>(""); ddlLocaltype.DataSource = listLoacaltype; ddlLocaltype.DataTextField = "NAME"; ddlLocaltype.DataValueField = "ID"; ddlLocaltype.DataBind(); DepartMentOperator.Bind2(ddlSchool); ddlSchool.SelectedValue = "440400"; DictOperator.BindDropDownList("车辆类型", ddlCarType); string strTmp = Request.Params["strTmp"]; if (!string.IsNullOrEmpty(strTmp)) { int result = wsFingerM.wsFPEnroll(strTmp); this.fnUINewEnrollStudentSucess(result == FpBase.SUCCESSED); } } ///WebTools.PlaySound("../../sound/test1.wav"); //WebTools.PlayBackGroupSound("孙燕姿-02.追.是时候.mp3", 1); //Response.Write("<bgsound loop=1 src='孙燕姿-02.追.是时候.mp3' />"); //WebTools.WriteScript("alert('hhlin');"); //WebTools.PlaySound("孙燕姿-02.追.是时候.mp3"); // BeepHelper.Beep(800,8000); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DepartMentOperator.Bind2(ddlSchoolCode); ddlSchoolCode.Items.Insert(0, new ListItem("全部", "all")); DictOperator.BindDropDownList("车辆类型", ddlCarType); ddlCarType.Items.Insert(0, new ListItem("全部", "all")); ArrayList localtypes = SimpleOrmOperator.QueryConditionList <FpLocalType>("where km3_verify_ind='Y'"); string localtypeArray = ""; foreach (FpLocalType localtype in localtypes) { localtypeArray += localtype.ID; localtypeArray += ","; } string condition = " statue<={0} and localtype in ({1}) "; condition = string.Format(condition, FpStudentObject.STATUE_TRAIN_END, localtypeArray.TrimEnd(',')); condition += " and km3_verify !='Y' "; this.ProcedurePager1.TableName = "fp_student"; this.ProcedurePager1.FieldString = @" lsh,idcard ,name ,school_name,car_type ".Replace("\r\n", "").Replace("\t", ""); this.ProcedurePager1.SortString = " order by lsh asc"; this.ProcedurePager1.RowFilter = condition; //WebTools.Alert(condition); this.txtQueryValue.Focus(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DictOperator.BindDropDownList("考试地点", this.cbKsdd); DictOperator.BindDropDownList("考试场次", this.cbKscc); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DictOperator.BindDropDownList("身份证明名称", this.cbIdCardTypeValue); this.cbIdCardTypeValue.SelectedValue = "A"; } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DictOperator.BindDropDownList("身份证明名称", this.cbIdCardType); DictOperator.BindDropDownList("体检业务类型", this.cbBusType); this.txtDabh1.Text = ConfigurationManager.AppSettings["DefaultDabh"]; } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DictOperator.BindDropDownList("考试地点", this.cbKsdd); DictOperator.BindDropDownList("考试场次", this.cbKscc); // SchoolCarInfoOperator.Bind(this.cbCarNo, this.Operator.Desp3); if (Request.Params["id"] != null) { YuyueLimit entity = YuyueLimitOperator.Get(Convert.ToInt32(Request.Params["id"])); //this.yuyueLimit = entity; this.InitYuyueLimit(entity); } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { qDateStart.Value = DateTime.Now.ToString("yyyy-MM-dd"); qDateEnd.Value = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd"); DepartMentOperator.Bind2(ddlSchoolCode); ddlSchoolCode.Items.Insert(0, new ListItem("全部", "all")); DictOperator.BindDropDownList("车辆类型", ddlCarType); ddlCarType.Items.Insert(0, new ListItem("全部", "all")); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DictOperator.BindDropDownList("车辆类型", this.cbCarType); this.cbCarType.Items.Insert(0, "全部车型"); this.ProcedurePager1.TableName = "table_bus_all_info"; this.ProcedurePager1.FieldString = @"c_lsh , c_idcard , c_dabh , c_xm, regdate , c_car_type , decode(i_state,0,'受理中',1,'已体检',2,'已退办') as c_state " .Replace("\r\n", "").Replace("\t", ""); this.ProcedurePager1.SortString = " order by regdate desc"; } }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { DictOperator.BindDropDownList("考试地点", this.cbKsdd); DictOperator.BindDropDownList("考试场次", this.cbKscc); DepartMentOperator.Bind(this.cbSchool, "驾校"); DictOperator.BindDropDownList("考试科目", this.cbKm); this.ProcedurePager1.TableName = "table_yuyue_info"; this.ProcedurePager1.FieldString = @"id,c_lsh,date_ksrq,c_kscc,c_ksdd,i_km,c_idcard, c_xm,date_pxshrq,c_hmhp,c_jbr, decode(i_checked,0,'未审核',1,'已审核',2,'审核不过') i_checked, c_check_result " .Replace("\r\n", "").Replace("\t", ""); this.ProcedurePager1.SortString = " order by id desc"; } }
protected void Page_Load(object sender, EventArgs e) { this._FP = new FpBase(this, null, false); if (!IsPostBack) { DepartMentOperator.Bind2(ddlSchoolCode); ddlSchoolCode.Items.Insert(0, new ListItem("全部", "all")); DictOperator.BindDropDownList("车辆类型", ddlCarType); ddlCarType.Items.Insert(0, new ListItem("全部", "all")); this.ProcedurePager1.TableName = "fp_student"; this.ProcedurePager1.FieldString = @" lsh,idcard ,name ,school_name,car_type ".Replace("\r\n", "").Replace("\t", ""); this.ProcedurePager1.SortString = " order by idcard desc"; if (cbFinish.Checked) { string condition = " statue>={0}"; this.ProcedurePager1.RowFilter = string.Format(condition, FpStudentObject.STATUE_KM3_ENTER); } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { // ViewState DictOperator.BindDropDownList("考试地点", this.cbKsdd); DictOperator.BindDropDownList("考试场次", this.cbKscc); DepartMentOperator.BindNick(this.cbSchool, "驾校"); this.InitTableControls(); if (Request.Params["id"] != null) { WeekRecord entity = WeekRecordOperator.Get(Convert.ToInt32(Request.Params["id"])); //weekRocord = WeekRecordOperator.Get(Convert.ToInt32(Request.Params["id"])); this.InitWeekRecord(entity); string querySql = string.Format("where I_WEEK_NUM={0}", entity.WeekNum); ArrayList listLimits = SimpleOrmOperator.QueryConditionList <YuyueLimit>(querySql); ViewState[VIEWSTATUE_LIMITS] = listLimits; ViewState[VIEWSTATUE_WEEKRECORD] = entity; } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DepartMentOperator.Bind2(ddlSchoolCode); ddlSchoolCode.Items.Insert(0, new ListItem("全部", "all")); DictOperator.BindDropDownList("车辆类型", ddlCarType); ddlCarType.Items.Insert(0, new ListItem("全部", "all")); string condition = " statue<{0} and lsh is not null "; condition = string.Format(condition, FpStudentObject.STATUE_LESSON_START); condition += " and fee_statue != 'Y' "; this.ProcedurePager1.TableName = "fp_student"; this.ProcedurePager1.FieldString = @" lsh,idcard ,name ,school_name,car_type,fee_verify_date ".Replace("\r\n", "").Replace("\t", ""); this.ProcedurePager1.SortString = " order by lsh asc"; this.ProcedurePager1.RowFilter = condition; this.btnBatchVerify.Attributes.Add("onclick", "return confirm('确认进行批量审核?');"); this.btnBatchDisVerify.Attributes.Add("onclick", "return confirm('确认进行批量取消审核?');"); } this.txtQueryValue.Focus(); }
protected void Page_Load(object sender, EventArgs e) { this._FP = new FpBase(this, new EventHandler(TrustLink_OperDlgPostEvent)); _FP.isSa = true; if (!IsPostBack) { ArrayList listLoacaltype = SimpleOrmOperator.QueryConditionList <FpLocalType>(""); ddlLocaltype.DataSource = listLoacaltype; ddlLocaltype.DataTextField = "NAME"; ddlLocaltype.DataValueField = "ID"; ddlLocaltype.DataBind(); DepartMentOperator.Bind2(ddlSchool); ddlSchool.SelectedValue = "440400"; DictOperator.BindDropDownList("车辆类型", ddlCarType); } ///WebTools.PlaySound("../../sound/test1.wav"); //WebTools.PlayBackGroupSound("孙燕姿-02.追.是时候.mp3", 1); //Response.Write("<bgsound loop=1 src='孙燕姿-02.追.是时候.mp3' />"); //WebTools.WriteScript("alert('hhlin');"); //WebTools.PlaySound("孙燕姿-02.追.是时候.mp3"); // BeepHelper.Beep(800,8000); }