www.webdeveloper.com
Results 1 to 3 of 3

Thread: Personalizing your data grid?

  1. #1
    Join Date
    Feb 2003
    Location
    Sault Ste Marie, On, Canada
    Posts
    168

    Personalizing your data grid?

    Can someone point me to a good "Simple" article on changing the look of your datagrid...for instance I don't want it to show First_Name right out of the database but I'd like to change that to something like "The Person's First Name" instead. Thx in Advance.

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    What do you mean the person's first name and first_name?

  3. #3
    Join Date
    Nov 2004
    Posts
    4
    to make the datagrid's column names different than the datasource column names:
    data grids have a property named AutoGenarate or AutoGenerateColumns (not sure about the exact name, find it out), set it to false.

    i recommend u use Visual Studio.net, when u click on the data grid, all its properties are shown for u. after setting the property to false , u can use the "columns" property in the Propertis window in VS.net to customize ur columns...

    u can find more details in all books about asp.net

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles