|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/04556082/ecc0c5af/ |
?#pragma checksum "d:\wwwroot\gzgunuo\wwwroot\cases.aspx.cs" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "7ADC2568F8C030975B31CDD115CB3C34"
#line 1 "d:\wwwroot\gzgunuo\wwwroot\cases.aspx.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class cases : System.Web.UI.Page
{
#region URl参数
private int Id { get { int d; int.TryParse(Request.QueryString["Id"], out d); return d; } }
private int Pages { get { int d; int.TryParse(Request.QueryString["page"], out d); return d > 0 ? d-1:0; } }
private int pageSize = 6;
private int pageCount = 0;//页数;
#endregion
protected void Page_Load(object sender, EventArgs e)
{
//获取案例信息;
string whereStr = " where tableName ='case'";
this.repeater_case.DataSource = SqlManager.GetGong(Pages,pageSize,out pageCount,whereStr);
this.repeater_case.DataBind();
//设置页码;
this.AspNetPager1.UrlPaging = true;
this.AspNetPager1.PageSize = pageSize;
this.AspNetPager1.RecordCount=pageCount;
//设置网页标题;
(this.Master as MasterPage).webTitle = "工程案例-" + StringHelper.webTitle;
(this.Master as MasterPage).keywords = "工程案例-" + StringHelper.webTitle;
(this.Master as MasterPage).description = "工程案例-" + StringHelper.webTitle;
}
}
#line default
#line hidden