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. Pivot tables

Pivot tables

Scheduled Pinned Locked Moved ASP.NET
csharpdatabaseasp-netquestion
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.
  • S Offline
    S Offline
    sohne
    wrote on last edited by
    #1

    I m using a Pivot table and a chart in my asp.net 2.0(C#) application. I want to edit data in Pivot table and save in the sql database. Is there any way of doing it?

    P 1 Reply Last reply
    0
    • S sohne

      I m using a Pivot table and a chart in my asp.net 2.0(C#) application. I want to edit data in Pivot table and save in the sql database. Is there any way of doing it?

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      What data do you want to save? Surely the data displayed in a pivot table is aggregated... If you change the underlying data, I'm sure you can save it, but the answer to your question depends very much on how you are supplying the data to your pivot table - it's really just a matter of creating an update sql statement for anything that changes...

      S 1 Reply Last reply
      0
      • P Paddy Boyd

        What data do you want to save? Surely the data displayed in a pivot table is aggregated... If you change the underlying data, I'm sure you can save it, but the answer to your question depends very much on how you are supplying the data to your pivot table - it's really just a matter of creating an update sql statement for anything that changes...

        S Offline
        S Offline
        sohne
        wrote on last edited by
        #3

        I saw one example of how to display Pivot Table protected PivotTableClass pt; pt = new PivotTableClass(); pt.ConnectionString ="Provider=SQLOLEDB.1;Data Source=AHD-2003;database=northwind;user id=sa;password=;"; pt.DataMember ="select * from suppliers"; pt.ShowDetails(); I m using OWC10. But there is no method named ShowDetails(). How can it be? Do u have any example of how to display Pivot table programmatically.

        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