Web/VIPCenter/replyMeList.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Web.VIPCenter
{
public partial class replyMeList : Web.UI.Members
{
public int pcount; //总条数
public int page; //当前页
public int pagesize; //设置每页显示的大小
protected void Page_Load(object sender, EventArgs e)
{
RptBind("MemberId=" + Session["MemberLogin_Id"].ToString(), "id desc");
}
#region 数据列表绑定
private void RptBind(string strWhere, string orderby)
{
this.pagesize = 10;
if (!int.TryParse(Request.Params["page"] as string, out this.page))
{
this.page = 0;
}
BLL.AllReviews bll = new BLL.AllReviews();
Model.AllReviews model = new Model.AllReviews();
//获得总条数
this.pcount = bll.GetCount(strWhere);
this.rptList.DataSource = bll.GetPageList(this.pagesize, this.page, strWhere, orderby);
this.rptList.DataBind();
}
#endregion
#region 查找归类标题
protected string ViewKind(int _kindId)
{
switch (_kindId)
{
case (int)Channel.Article:
return "资讯模块";
break;
case (int)Channel.Pictures:
return "图文模块";
break;
case (int)Channel.Downloads:
return "下载模块";
break;
}
return "";
}
#endregion
#region 查找新闻链接地址
protected string ViewUrl(int _kindId, int _parentId)
{
string str = "错误,暂无找到该信息标题!";
switch (_kindId)
{
case (int)Channel.Article:
后面还有 48 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。