Using Auto-Generate Fields with Gridview, how to set column alignment???

Discussion in 'ASP .Net' started by gwhite1@kc.rr.com, Apr 29, 2006.

  1. Guest

    I am using the auto-generate fields option because my query can be
    different based on what the user selects. But I would still like to set
    the column alignment but I can;t seem to access the columns in code
    after the data has loaded. Any ideas?
    , Apr 29, 2006
    #1
    1. Advertising

  2. You can access autogenerated columns only in ItemCreated event.

    Eliyahu

    <> wrote in message
    news:...
    >I am using the auto-generate fields option because my query can be
    > different based on what the user selects. But I would still like to set
    > the column alignment but I can;t seem to access the columns in code
    > after the data has loaded. Any ideas?
    >
    Eliyahu Goldin, Apr 30, 2006
    #2
    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. Benton

    GridView and Column alignment

    Benton, Aug 23, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    16,924
    Siva M
    Aug 23, 2005
  2. Jason
    Replies:
    3
    Views:
    17,030
    Jan Hyde
    May 8, 2006
  3. linkswanted
    Replies:
    1
    Views:
    884
  4. Keith G Hicks
    Replies:
    3
    Views:
    752
    Keith G Hicks
    Feb 18, 2008
  5. Replies:
    2
    Views:
    110
Loading...

Share This Page