right justify a column?

Discussion in 'ASP .Net' started by John Wilson, Jun 21, 2005.

  1. John Wilson

    John Wilson Guest

    Here's a dumb question from a learner:

    In a datagrid in a web page, how do I right justify a column of figures?

    I bet its easy once you know.

    John Wilson
    John Wilson, Jun 21, 2005
    #1
    1. Advertising

  2. John,

    You can set ItemStyle-HorizontalAlign=right in the asp:datagrid tag on the
    ..aspx page. You can do the same for HeaderStyle.

    Eliyahu

    "John Wilson" <> wrote in message
    news:42b87cf2$0$38041$...
    > Here's a dumb question from a learner:
    >
    > In a datagrid in a web page, how do I right justify a column of figures?
    >
    > I bet its easy once you know.
    >
    > John Wilson
    >
    >
    Eliyahu Goldin, Jun 22, 2005
    #2
    1. Advertising

  3. John Wilson

    John Wilson Guest

    Thank you. That was very helpful.


    John Wilson
    John Wilson, Jun 22, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tina

    Right Justify Hyperlink Buttons?

    Tina, Dec 8, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    602
    G Dean Blake
    Dec 9, 2004
  2. John Wilson

    Right justify text in textbox in web page

    John Wilson, Oct 8, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    6,497
    John Wilson
    Oct 8, 2005
  3. How to right justify a column

    , Jul 23, 2003, in forum: C Programming
    Replies:
    2
    Views:
    10,573
  4. Norman
    Replies:
    15
    Views:
    4,252
    Andrew
    Mar 6, 2007
  5. Replies:
    1
    Views:
    1,102
    Beauregard T. Shagnasty
    May 1, 2007
Loading...

Share This Page