private void UpdateFriends(string UID) { List <string> friends = SQLManager.GetFriends(UID); foreach (string friend in friends) { dataGridView4.Rows.Add(friend); } }