MxWeiXinPF.Web/admin/vote/vote_list.aspx.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using MxWeiXinPF.Common;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MxWeiXinPF.Web.admin.vote
{
    public partial class vote_list : Web.UI.ManagePage
    {
        protected int totalCount;
        protected int page;
        protected int pageSize;
        protected int typeid=0;
        BLL.wx_vote_base gbll = new BLL.wx_vote_base();
        protected int wid = 0;
        protected string yuming = "";
        protected string keywords = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            this.keywords = MXRequest.GetQueryString("keywords");

            this.pageSize = GetPageSize(10); //每页数量
            if (!Page.IsPostBack)
            {
           
                yuming = MyCommFun.getWebSite();
                typeid = MyCommFun.RequestInt("typeid");
                RptBind(typeid, CombSqlTxt(keywords), "id desc");

            }
        }

        protected void ddlProperty_SelectedIndexChanged(object sender, EventArgs e)
        {
            Response.Redirect(Utils.CombUrlTxt("vote_list.aspx", "typeid={0}&keywords={1}", ddlProperty.SelectedValue, this.keywords));
        }


        #region 数据绑定=================================
        private void RptBind(int typeid,string _strWhere, string _orderby)
        {

            Model.wx_userweixin weixin = GetWeiXinCode();
            wid = weixin.id;
            //判断是否已经设置了微留言基本信息
            _strWhere = "wId=" + weixin.id + " " + _strWhere;
            if (typeid == 0)
            {
               
            }
            else
            {

                _strWhere = "voteType=" + typeid + " and " + _strWhere;
后面还有 169 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。