예제 #1
0
 //设置分页数量
 protected void txtPageNum_TextChanged(object sender, EventArgs e)
 {
     HyCommon HyCommon = new HyCommon();
     int _pagesize;
     if (int.TryParse(txtPageNum.Text.Trim(), out _pagesize))
     {
         if (_pagesize > 0)
         {
             HyCommon.WriteCookie("page_size", _pagesize.ToString(), 43200);
         }
     }
     Response.Redirect(HyCommon.CombUrlTxt(ls_url, "rnd={1}&txtNmae={2}", System.Guid.NewGuid().ToString(), this.txtNmae.Text));
 }
예제 #2
0
 //设置分页数量
 protected void txtPageNum_TextChanged(object sender, EventArgs e)
 {
     HyCommon HyCommon = new HyCommon();
     int _pagesize;
     if (int.TryParse(txtPageNum.Text.Trim(), out _pagesize))
     {
         if (_pagesize > 0)
         {
             HyCommon.WriteCookie("page_size", _pagesize.ToString(), 43200);
         }
     }
     Response.Redirect(HyCommon.CombUrlTxt(ls_url, "page={0}&rnd={1}&txttableid={2}&txtuid={3}&operateTime_s={4}&operateTime_e={5}&txtKeyWord={6}&txtFlow={7}", page.ToString(), System.Guid.NewGuid().ToString(), this.ddl_table.SelectedValue, this.ddl_user.SelectedValue, this.operateTime_s.Value, this.operateTime_e.Value, this.txtKeyWord.Value, this.ddl_flow.SelectedValue));
 }
예제 #3
0
 //设置分页数量
 protected void txtPageNum_TextChanged(object sender, EventArgs e)
 {
     HyCommon HyCommon = new HyCommon();
     int _pagesize;
     if (int.TryParse(txtPageNum.Text.Trim(), out _pagesize))
     {
         if (_pagesize > 0)
         {
             HyCommon.WriteCookie("page_size", _pagesize.ToString(), 43200);
         }
     }
     Response.Redirect(HyCommon.CombUrlTxt(ls_url, "rnd={1}&txtname={2}&ddl_sex={3}&ddl_grade={4}&ddl_properties={5}&ddl_recommend={6}&txt_nonumber={7}&txttx_guideNo={8}", System.Guid.NewGuid().ToString(), this.txtName.Text, this.ddl_sex.SelectedValue, this.ddl_grade.SelectedValue, this.ddl_properties.SelectedValue, this.ddl_recommend.SelectedValue, this.txt_nonumber.Text, this.txttx_guideNo.Text));
 }