예제 #1
0
    private Table PrepareCategoryTypeHeaderRow(string RoomCategory, string RoomType)
    {
        Table     t = new Table();
        TableRow  tr;
        TableCell tc;

        t.Attributes.Add("class", "categorytypeHeader");
        tr = new TableRow();

        tc      = new TableCell();
        tc.Text = "Category: " + GF.RecoverSpace(RoomCategory);
        tc.Attributes.Add("class", "categorytypeHeaderdatacell");
        tr.Cells.Add(tc);

        tc      = new TableCell();
        tc.Text = "Type: " + GF.RecoverSpace(RoomType);
        tc.Attributes.Add("class", "categorytypeHeaderdatacell");
        tr.Cells.Add(tc);

        t.Rows.Add(tr);
        return(t);
    }