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. Web Development
  3. ASP.NET
  4. Binding DataGrid Control in user friendly way?

Binding DataGrid Control in user friendly way?

Scheduled Pinned Locked Moved ASP.NET
questionwpfwcfbusinesshelp
2 Posts 2 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.
  • K Offline
    K Offline
    k_bhawna
    wrote on last edited by
    #1

    Hi, Actually I want the Data to be displayed in my DataGrid Control in Vertical Form. But i m unalble to. and also i want the Headings of the Columns to be displayed according to my Requirements(user defined) but it is always bounding data with the names of fields i.e. suppose if the field name is: Emp_ID, DataGride is showing the field name but i want Employee ID to be shown. Is there any way to do this!!! Plz Help "You never know what is enough unless you know what is more than enough" Thanks

    S 1 Reply Last reply
    0
    • K k_bhawna

      Hi, Actually I want the Data to be displayed in my DataGrid Control in Vertical Form. But i m unalble to. and also i want the Headings of the Columns to be displayed according to my Requirements(user defined) but it is always bounding data with the names of fields i.e. suppose if the field name is: Emp_ID, DataGride is showing the field name but i want Employee ID to be shown. Is there any way to do this!!! Plz Help "You never know what is enough unless you know what is more than enough" Thanks

      S Offline
      S Offline
      sathish s
      wrote on last edited by
      #2

      regarding column header yes.. Atleast 2 ways to do this : a. You can use an alias name while fetching from the database, like select abc as 'abc efg' from tablename. 2. You can make use of Column mapping

      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