private TableCell MakeLinkCellForRow(string text, int groupId, Color textColor) { TableCell newCell = new TableCell(); HyperLink textLink = new HyperLink(); textLink.Text = text; textLink.ForeColor = textColor; textLink.NavigateUrl = "~/Groups/GroupDisplay.aspx?ID=" + groupId; newCell.Controls.Add(textLink); return newCell; }