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) { 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) { 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) { 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) { 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); }