CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Location
    Tennessee
    Posts
    19

    [RESOLVED] Underline & Bold Table Cell

    I am creating a table programmatically using c# & asp.net and everything is working. I need to set the cells that are the column headings so the text is underlined and bold.

    How do is it done? I have searched a lot on but have not found any solutions.

    Thanks for any guidance.

  2. #2
    Join Date
    May 2011
    Location
    Washington State
    Posts
    220

    Re: Underline & Bold Table Cell

    I'm thinking this should do what you want...

    Code:
                TableCell tc = new TableCell();
                tc.Font.Bold = true;
                tc.Font.Underline = true;

  3. #3
    Join Date
    Apr 2011
    Location
    Tennessee
    Posts
    19

    Thumbs up Re: Underline & Bold Table Cell

    Thanks so much! That is actually what I was looking for, I was close but just did not use the = true.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured