Ejemplo n.º 1
0
 protected void LoadFriendRequests()
 {
     GridViewFriendsListRequest.DataSource = FriendsBLL.getAllFriendRequests(Userid, Global.PENDING);
     GridViewFriendsListRequest.DataBind();
     GridViewSuggestions.DataSource = FriendsBLL.getAllFriendRequests(Userid, Global.SUGGESTED);
     GridViewSuggestions.DataBind();
 }
Ejemplo n.º 2
0
 protected void LoadFriendsList()
 {
     GridViewFriendsList.DataSource = FriendsBLL.getAllFriendsListName(Userid, Global.CONFIRMED);
     GridViewFriendsList.DataBind();
     GridViewFriendsListRequest.DataSource = FriendsBLL.getAllFriendsListName(Userid, Global.PENDING);
     GridViewFriendsListRequest.DataBind();
     if (Userid != Session["UserId"].ToString())
     {
         GridViewFriendsList.Columns[2].Visible = false;
     }
 }