Datagrid Controll column label

Discussion in 'ASP .Net Datagrid Control' started by news_man, Dec 3, 2003.

  1. news_man

    news_man Guest

    I read out a datagrid of a database table. How can I change the column
    names , which are named the default database column name? Are there
    any properties ?
     
    news_man, Dec 3, 2003
    #1
    1. Advertisements

  2. You can do it in the database.
    E.g.:

    select [ID] as ProductID, [Name] as ProductName from Products

    --
    The Best Regards,
    ..Net Developer
    Michael Tkachev
    "news_man" <> wrote in message
    news:...
    >
    >
    > I read out a datagrid of a database table. How can I change the column
    > names , which are named the default database column name? Are there
    > any properties ?
     
    Micharel Tkachev, Dec 5, 2003
    #2
    1. Advertisements

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. Daniel
    Replies:
    1
    Views:
    445
    Victor Bazarov
    Dec 31, 2003
  2. Brendan zerofor0je

    Terminal Controll...

    Brendan zerofor0je, Nov 8, 2003, in forum: C Programming
    Replies:
    2
    Views:
    702
    Brendan zerofor0je
    Nov 8, 2003
  3. Replies:
    25
    Views:
    1,008
  4. and

    files permissions controll

    and, Jun 19, 2009, in forum: C Programming
    Replies:
    2
    Views:
    439
    James Kuyper
    Jun 19, 2009
  5. Santosh

    How to use tree view controll

    Santosh, Jun 13, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    227
    Santosh
    Jun 13, 2006
  6. sonia ()
    Replies:
    1
    Views:
    836
    orhpwyav awoyvujeh
    Aug 16, 2007
  7. Richard Loupatty

    controll access to aspx.page

    Richard Loupatty, Apr 24, 2006, in forum: ASP .Net Security
    Replies:
    0
    Views:
    157
    Richard Loupatty
    Apr 24, 2006
  8. Knut Krueger
    Replies:
    8
    Views:
    648
    Knut Krueger
    Aug 20, 2013
Loading...