private static void AddRow( DataTable dt, int stat, NflTeam t, string metricName) { var dr = dt.NewRow(); var p = t.GetCurrentStarter(PosInFocus(metricName)); var starterName = String.Empty; var gs11Owner = String.Empty; var gs2Owner = String.Empty; if (p != null) { starterName = p.PlayerName; gs11Owner = Utility.TflWs.GetStatus( p.PlayerCode, "GS", Utility.CurrentSeason()); gs2Owner = Utility.TflWs.GetStatus( p.PlayerCode, "G2", Utility.CurrentSeason()); } dr["TEAM"] = t.Name; dr["TOTAL"] = Normalised(stat, metricName); dr["STARTER"] = metricName.Equals("spread") ? "" : starterName; dr["GS"] = gs11Owner; dr["G2"] = gs2Owner; dt.Rows.Add(dr); }