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. datagrid-direction

datagrid-direction

Scheduled Pinned Locked Moved ASP.NET
questiontutorial
3 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.
  • L Offline
    L Offline
    luckyve
    wrote on last edited by
    #1

    Hi. I have used a datagrid in my project. Usually ( or always ) Columns of a datasource is next to eachother as it shown in datagrid. for example datagrid shows like this : Header1 Header2 databound databound Now,my question is : Can I have these columns under each other ? like this : Header 1 databound Header 2 databound how can I do that ?

    M 1 Reply Last reply
    0
    • L luckyve

      Hi. I have used a datagrid in my project. Usually ( or always ) Columns of a datasource is next to eachother as it shown in datagrid. for example datagrid shows like this : Header1 Header2 databound databound Now,my question is : Can I have these columns under each other ? like this : Header 1 databound Header 2 databound how can I do that ?

      M Offline
      M Offline
      MoustafaS
      wrote on last edited by
      #2

      You can use a DataList control and modify its ItemTemplate property to view what you want.

      ------------------------------
      "The Soapbox has been so ..."

      L 1 Reply Last reply
      0
      • M MoustafaS

        You can use a DataList control and modify its ItemTemplate property to view what you want.

        ------------------------------
        "The Soapbox has been so ..."

        L Offline
        L Offline
        luckyve
        wrote on last edited by
        #3

        Thank you very much but I want to use datagrid not datalist ...its better I think. any other ideas about direction of datagrid as I asked above?

        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