Пример #1
0
        /// <summary>
        /// 绑定数据
        /// </summary>
        private void BindData()
        {
            //同中中心编号
            int superID = EyouSoft.Common.Utils.GetInt(EyouSoft.Common.Utils.GetQueryStringValue("SuperID"));
            int mqId    = MQLoginId;
            //int superID = 20009;
            //int mqId = 15183;
            IList <EyouSoft.Model.MQStructure.IMClusterUserCard> list = IMSuperCluster.CreateInstance().GetUserCardListByClusterId(pageSize, pageIndex, ref recordCount, superID, mqId);

            if (list != null)
            {
                if (list.Count > 0)
                {
                    Repeater1.DataSource = list;
                    Repeater1.DataBind();
                }
                else
                {
                    this.ExportPageInfo1.Visible = false;
                }
            }
            else
            {
                this.ExportPageInfo1.Visible = false;
            }
        }
Пример #2
0
        /// <summary>
        /// 获取数据
        /// </summary>
        private IList <EyouSoft.Model.MQStructure.IMClusterUserCard> GetData()
        {
            //同中中心编号
            int superID = EyouSoft.Common.Utils.GetInt(EyouSoft.Common.Utils.GetQueryStringValue("SuperID"));
            int mqId    = MQLoginId;

            //int superID = 20009;
            //int mqId = 15183;
            return(IMSuperCluster.CreateInstance().GetUserCardListByClusterId(pageSize, pageIndex, ref recordCount, superID, mqId));
        }