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. Display multiple columns in Gridview from One Column of SQL table.

Display multiple columns in Gridview from One Column of SQL table.

Scheduled Pinned Locked Moved ASP.NET
database
4 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.
  • S Offline
    S Offline
    sundaramoorthy b
    wrote on last edited by
    #1

    hi to all, Display multiple columns in Gridview from One Column of SQL table. Thanks in advance, Sundaramoorthy

    S A 2 Replies Last reply
    0
    • S sundaramoorthy b

      hi to all, Display multiple columns in Gridview from One Column of SQL table. Thanks in advance, Sundaramoorthy

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      Care to elaborate what does your question means? I can define 10 columns in my grid and bind all of them to one column of SQL table. Possible and easy, but is that what you want? I doubt.

      Sandeep Mewara [My last tip/trick]: Server side Delimiters in ASP.NET[^]

      S 1 Reply Last reply
      0
      • S Sandeep Mewara

        Care to elaborate what does your question means? I can define 10 columns in my grid and bind all of them to one column of SQL table. Possible and easy, but is that what you want? I doubt.

        Sandeep Mewara [My last tip/trick]: Server side Delimiters in ASP.NET[^]

        S Offline
        S Offline
        sundaramoorthy b
        wrote on last edited by
        #3

        No, I have one column(like 1 to 100 values)in table. 1 2 3 4 5 . . ... Now I need to Display multiple columns in Gridview like 1 6 ... 2 7 3 8 4 9 5 10

        1 Reply Last reply
        0
        • S sundaramoorthy b

          hi to all, Display multiple columns in Gridview from One Column of SQL table. Thanks in advance, Sundaramoorthy

          A Offline
          A Offline
          Ajay Bachale
          wrote on last edited by
          #4

          You can do as : Select a.col1, b.col1 from table a, table b

          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