Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Column Header of Datagrid

Column Header of Datagrid

Scheduled Pinned Locked Moved Visual Basic
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Girish481
    wrote on last edited by
    #1

    How can we set column header of datagrid? Suppose there are 3 columns of table in dataset i.e. R,N,A; i want to show r as Roll Number, N as Name of Candidate and A as Age. Thanks in Advance. Girish Sharma

    _ M 2 Replies Last reply
    0
    • G Girish481

      How can we set column header of datagrid? Suppose there are 3 columns of table in dataset i.e. R,N,A; i want to show r as Roll Number, N as Name of Candidate and A as Age. Thanks in Advance. Girish Sharma

      _ Offline
      _ Offline
      _Chosen
      wrote on last edited by
      #2

      Not sure i understand the question, but perhaps you could make the first row of cells to be labels with the headings of your columns as their text. Maybe make the text bold and background different color to distinguish them from the rest of the datarows?

      There are 10 types of people in this world, those who understand binary and those who don't!

      1 Reply Last reply
      0
      • G Girish481

        How can we set column header of datagrid? Suppose there are 3 columns of table in dataset i.e. R,N,A; i want to show r as Roll Number, N as Name of Candidate and A as Age. Thanks in Advance. Girish Sharma

        M Offline
        M Offline
        mr_lasseter
        wrote on last edited by
        #3

        Look at using tablestyles

        Mike Lasseter

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups