Datagrid column header

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • charvi
    New Member
    • May 2007
    • 121

    Datagrid column header

    Hi
    i am doing project in vb.net 2003 i have a form which contains a datagrid.This datagrid is used to view the contents of table and is working properly.here column header caption will be same as field name from the table.i want edit annd give my own caption to the column header.how csn i do that .please help me
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by charvi
    Hi
    i am doing project in vb.net 2003 i have a form which contains a datagrid.This datagrid is used to view the contents of table and is working properly.here column header caption will be same as field name from the table.i want edit annd give my own caption to the column header.how csn i do that .please help me
    You can set the header text for the boundfield or you could create an ItemTemplate column to use a label control and set the text for the label.
    Nathan

    Comment

    Working...