MxWeiXinPF.Web/weixin/wqiche/ershouche.aspx.cs
(完整代码) 1KBusing MxWeiXinPF.Common;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MxWeiXinPF.Web.weixin.wqiche
{
public partial class ershouche : WeiXinPage
{
protected int wid;
protected string openid;
protected Model.article_category acModel;
protected void Page_Load(object sender, EventArgs e)
{
wid = MXRequest.GetQueryInt("wid");
openid = MXRequest.GetQueryString("openid");
if (!IsPostBack)
{
BLL.wx_wq_wzlx wzBll = new BLL.wx_wq_wzlx();
Model.wx_wq_wzlx wzModel = wzBll.GetModelList("wid=" + wid)[0];
BLL.article_category acBll = new BLL.article_category();
DataTable ds = acBll.GetList(" wid=" + wid + " and id=" + wzModel.escid);
if (ds.Rows.Count > 0)
acModel = acBll.GetModel(MyCommFun.Obj2Int(wzModel.escid));
BLL.article aBll = new BLL.article();
this.rptList.DataSource = aBll.GetList(" category_id=" + acModel.id);
this.rptList.DataBind();
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
