Datagrid Headers ???

Discussion in 'ASP .Net Datagrid Control' started by Douglas Gage, Jan 15, 2004.

  1. Douglas Gage

    Douglas Gage Guest

    I want to know my headers of datagrid will not be known in advance, the
    headers will be parsed at the run time by an array list. How would I be able
    to solve the problem:

    Before:
    datagrid

    After: collecting Arraylist which stores header datagrid then it should
    print out (I'm binding it from database, this is just a form for user to
    fill out, I don't know if the way i'm going is correct)

    Header 1 Header2 Header3 Header 4

    Thanks
     
    Douglas Gage, Jan 15, 2004
    #1
    1. Advertising

  2. Douglas Gage

    Alvin Bruney Guest

    If this is an autogenerated column, change the column headers thru your sql
    statement. Consider
    select item1 as myNewHeader, item2 as myNewHeader2 blah blah blah

    I'm not sure if I completely understood your question
    --
    Regards,
    Alvin Bruney
    Got tidbits? Get it here...
    http://tinyurl.com/3he3b
    "Douglas Gage" <> wrote in message
    news:%...
    > I want to know my headers of datagrid will not be known in advance, the
    > headers will be parsed at the run time by an array list. How would I be

    able
    > to solve the problem:
    >
    > Before:
    > datagrid
    >
    > After: collecting Arraylist which stores header datagrid then it should
    > print out (I'm binding it from database, this is just a form for user to
    > fill out, I don't know if the way i'm going is correct)
    >
    > Header 1 Header2 Header3 Header 4
    >
    > Thanks
    >
    >
     
    Alvin Bruney, Jan 15, 2004
    #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. Douglas Gage

    Datagrid Headers???

    Douglas Gage, Jan 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    494
    Douglas Gage
    Jan 15, 2004
  2. Nimbus Dorkus

    locking headers in the Datagrid

    Nimbus Dorkus, Jul 9, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    404
    Nimbus Dorkus
    Jul 9, 2003
  3. dont bother
    Replies:
    0
    Views:
    817
    dont bother
    Mar 3, 2004
  4. Phil
    Replies:
    4
    Views:
    691
    Gabriel Genellina
    Jan 17, 2010
  5. Ian
    Replies:
    2
    Views:
    1,984
Loading...

Share This Page