ActivEarth.Groups.GroupsDisplayTable.MakeLinkCellForRow C# (CSharp) Метод

MakeLinkCellForRow() приватный Метод

Formats a cell to add to the row containing the given text linking to the given Group ID.
private MakeLinkCellForRow ( string text, int groupId, Color textColor ) : TableCell
text string The messages to display in the link
groupId int The ID of the Group this cell should link to the edit page of
textColor Color
Результат TableCell
        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;
        }