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. C#
  4. Cross Tab Data

Cross Tab Data

Scheduled Pinned Locked Moved C#
csharpdatabasesql-serverwinformssysadmin
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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi experts I am using SQL Server 2005 I have Table Having Str. like __________________________ Heading | Tax __________________________ A | Taxx A | Taxz A | TAXN B | 10 B | 20 B |30 C |5 C |5 C |4 _____________________________ i Want Result like -------------------------------- A B C ---------------------------------- TaxX 10 5 TaxZ 20 5 TaxN 30 4 -------------------------------- this Result in Datagrid view in WinForms How i get it in Datagrid view my column A,B,C ,D ..... so on Dynmaic Dinesh

    B M 2 Replies Last reply
    0
    • L Lost User

      Hi experts I am using SQL Server 2005 I have Table Having Str. like __________________________ Heading | Tax __________________________ A | Taxx A | Taxz A | TAXN B | 10 B | 20 B |30 C |5 C |5 C |4 _____________________________ i Want Result like -------------------------------- A B C ---------------------------------- TaxX 10 5 TaxZ 20 5 TaxN 30 4 -------------------------------- this Result in Datagrid view in WinForms How i get it in Datagrid view my column A,B,C ,D ..... so on Dynmaic Dinesh

      B Offline
      B Offline
      Baran M
      wrote on last edited by
      #2

      Pivots[^]

      Education is not a way to escape poverty — it is a way of fighting it.

      1 Reply Last reply
      0
      • L Lost User

        Hi experts I am using SQL Server 2005 I have Table Having Str. like __________________________ Heading | Tax __________________________ A | Taxx A | Taxz A | TAXN B | 10 B | 20 B |30 C |5 C |5 C |4 _____________________________ i Want Result like -------------------------------- A B C ---------------------------------- TaxX 10 5 TaxZ 20 5 TaxN 30 4 -------------------------------- this Result in Datagrid view in WinForms How i get it in Datagrid view my column A,B,C ,D ..... so on Dynmaic Dinesh

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        You don't even have to leave CP [^] to get a solution

        Never underestimate the power of human stupidity RAH

        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