예제 #1
0
        private void InitMQFriends()
        {
            string GroupName = Utils.InputText(Request.QueryString["GroupName"]);

            EyouSoft.IBLL.MQStructure.IIMFriendList         bll  = EyouSoft.BLL.MQStructure.IMFriendList.CreateInstance();
            IList <EyouSoft.Model.MQStructure.IMFriendList> list = bll.GetFriends(MQID, GroupName);

            if (list != null && list.Count > 0)
            {
                rptMQFriendList.DataSource = list;
                rptMQFriendList.DataBind();
            }
            list = null;
            bll  = null;
        }
예제 #2
0
        private void InitFriend()
        {
            EyouSoft.IBLL.MQStructure.IIMFriendList         bll  = EyouSoft.BLL.MQStructure.IMFriendList.CreateInstance();
            IList <EyouSoft.Model.MQStructure.IMFriendList> list = bll.GetFriends(MQID, string.Empty);

            if (list != null && list.Count > 0)
            {
                rptNoGroupFriend.DataSource = list;
                rptNoGroupFriend.DataBind();
            }

            IList <EyouSoft.Model.MQStructure.IMFriendList> FriendList = bll.GetFriendList(MQID);

            if (FriendList != null && FriendList.Count > 0)
            {
                FriendCount = FriendList.Count;
            }
            FriendList = null;
            list       = null;
            bll        = null;
        }