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; }
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; }