private static void FreeAgents(ref string s, string homeName, string awayName, NflTeam homeTeam, NflTeam awayTeam) { //RosterLib.Utility.Announce( "Doing FreeAgents"); if ((homeTeam == null) || (awayTeam == null)) { Utility.Announce("FreeAgents:one or more teams are null"); } else { s += "<br>\n"; // Table with one row which has 2 columns Away and Home s += HtmlLib.TableOpen("BORDER='1' BORDERCOLOR='BLUE'"); s += HtmlLib.TableRowOpen(); s += HtmlLib.TableDataAttr("Free Agents/Backups", "COLSPAN='2'"); s += HtmlLib.TableRowClose(); s += HtmlLib.TableRowOpen(); s += HtmlLib.TableDataAttr("Away " + awayName, "WIDTH='400'"); s += HtmlLib.TableDataAttr("Home " + homeName, "WIDTH='400'"); s += HtmlLib.TableRowClose(); s += HtmlLib.TableRowOpen(); s += HtmlLib.TableDataAttr(awayTeam.FreeAgents(true, true, false), "VALIGN='TOP'"); s += HtmlLib.TableDataAttr(homeTeam.FreeAgents(true, true, false), "VALIGN='TOP'"); s += HtmlLib.TableRowClose() + HtmlLib.TableClose() + "<br>\n"; } //RosterLib.Utility.Announce( "Finished FreeAgents"); }