Get column names when AutoGenerateColumns is true?

Discussion in 'ASP .Net' started by David M. Weprin, Oct 16, 2003.

  1. How can I get the automatically generated column names in a datagrid control
    when AutoGenerateColumns is set to true?

    I need the header text.... I'm trying to output a bound datagrid to a csv
    file and I'd like the first row to contain column headers.

    Thanks!

    -Dave
     
    David M. Weprin, Oct 16, 2003
    #1
    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. Andy Sutorius
    Replies:
    2
    Views:
    2,150
    Sandeep Kayal
    Jun 30, 2004
  2. Sachin
    Replies:
    0
    Views:
    2,448
    Sachin
    Mar 5, 2006
  3. =?Utf-8?B?bmt3?=

    Format GridView with AutoGenerateColumns=true

    =?Utf-8?B?bmt3?=, Mar 8, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    1,833
    Pak Lui
    Mar 11, 2007
  4. bdb112
    Replies:
    45
    Views:
    1,351
    jazbees
    Apr 29, 2009
  5. Dawn Coelin

    Hyperlink column when AutoGenerateColumns = True

    Dawn Coelin, Apr 5, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    198
    Teemu Keiski
    Jul 18, 2006
Loading...

Share This Page