Column headers showing as it is in the table in DataGridView

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sreenu123
    New Member
    • Aug 2008
    • 8

    Column headers showing as it is in the table in DataGridView

    Hi

    I already bind a DataGridView to a databse. My DataGridView is showing column names as it is in the table. I want to show user-friendly column names in the grid instead of column names in the database table. Please help me in this reagard. Thanx in advance
  • balabaster
    Recognized Expert Contributor
    • Mar 2007
    • 798

    #2
    In design mode, click the smart menu link and choose properties. In the window that pops up, you can edit each of the column's header, binding, data, whatever you like.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      You can also develop an Item Template that is used to configure how your DataGridView is displayed. To create one of these you will need to create a class that implements the ITemplate Interface.

      -Frinny

      Comment

      Working...