MxWeiXinPF.Web/admin/article/article_page_list.aspx.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MxWeiXinPF.Common;
namespace MxWeiXinPF.Web.admin.article
{
public partial class article_page_list : Web.UI.ManagePage
{
protected int channel_id;
protected int totalCount;
protected int page;
protected int pageSize;
protected int category_id;
protected string channel_name = string.Empty;
protected string property = string.Empty;
protected string keywords = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
this.channel_id = MXRequest.GetQueryInt("channel_id");
this.category_id = MXRequest.GetQueryInt("category_id");
this.keywords = MXRequest.GetQueryString("keywords");
this.property = MXRequest.GetQueryString("property");
if (channel_id == 0)
{
JscriptMsg("频道参数不正确!", "back", "Error");
return;
}
this.channel_name = new BLL.channel().GetChannelName(this.channel_id); //取得频道名称
this.pageSize = GetPageSize(10); //每页数量
if (!Page.IsPostBack)
{
ChkAdminLevel("channel_" + this.channel_name + "_list", MXEnums.ActionEnum.View.ToString()); //检查权限
//TreeBind(this.channel_id); //绑定类别
RptBind(this.channel_id, this.category_id, "id>0" + CombSqlTxt(this.keywords, this.property), "sort_id asc,add_time desc,id desc");
}
}
#region 数据绑定=================================
private void RptBind(int _channel_id, int _category_id, string _strWhere, string _orderby)
{
Model.wx_userweixin weixin = GetWeiXinCode();
this.page = MXRequest.GetQueryInt("page", 1);
this.txtKeywords.Text = this.keywords;
//图表或列表显示
BLL.article bll = new BLL.article();
DataSet ds = bll.GetWCodeList(weixin.id, _channel_id, _category_id, this.pageSize, this.page, _strWhere, _orderby, out this.totalCount);
后面还有 201 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
