Dynamic Headers in Datgrid???


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Dynamic Headers in Datgrid???

  1. #1
    Lars Netzel Guest

    Dynamic Headers in Datgrid???

    How do I change the name of a HeadText in a Datagrid?

    I figured I would find it somewhere in DataGRid1.Columns.??? but I cant get
    it..
    I need to have dynamic names on the ColumnHeader!

    Thanx/
    Lars Netzel



  2. #2
    Lars Netzel Guest

    Re: Dynamic Headers in Datgrid???

    I fixed it myself...It was easy.. Here's an example:

    DataGrid1.Columns(0).HeaderText = "Column Name"

    /Lars Netzel

    "Lars Netzel" <lars.netzel@ehandel.sigma.se> wrote in message
    news:3cff4db9@10.1.10.29...
    > How do I change the name of a HeadText in a Datagrid?
    >
    > I figured I would find it somewhere in DataGRid1.Columns.??? but I cant

    get
    > it..
    > I need to have dynamic names on the ColumnHeader!
    >
    > Thanx/
    > Lars Netzel
    >
    >




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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center