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. How to generate charts from Sql server data using C#

How to generate charts from Sql server data using C#

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasesql-serversysadmintutorial
5 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.
  • A Offline
    A Offline
    amittinku
    wrote on last edited by
    #1

    We have to generate some graphs like Pic chart etc, based on data stored in sql server. We have to use   C# only. 1. I am not sure what's the approach for this, I mean which control etc to be used 2. Is this requirement simple one or do we need to use some plug in? please share if u have any sample code in C#.

    A A 2 Replies Last reply
    0
    • A amittinku

      We have to generate some graphs like Pic chart etc, based on data stored in sql server. We have to use   C# only. 1. I am not sure what's the approach for this, I mean which control etc to be used 2. Is this requirement simple one or do we need to use some plug in? please share if u have any sample code in C#.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Its Depends on your requirement that which chart control you want to use. If you are using .NET Framework 3.5 SP1 then Microsoft having there own chart Control. you can use them. Or you can also have a look into Dundas Chart, Fusion Chart , which are Paid. :)

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      A 1 Reply Last reply
      0
      • A Abhijit Jana

        Its Depends on your requirement that which chart control you want to use. If you are using .NET Framework 3.5 SP1 then Microsoft having there own chart Control. you can use them. Or you can also have a look into Dundas Chart, Fusion Chart , which are Paid. :)

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        A Offline
        A Offline
        amittinku
        wrote on last edited by
        #3

        Thanx, but we are using .net framework 2.0. Is it possible in 2.0?

        A 1 Reply Last reply
        0
        • A amittinku

          We have to generate some graphs like Pic chart etc, based on data stored in sql server. We have to use   C# only. 1. I am not sure what's the approach for this, I mean which control etc to be used 2. Is this requirement simple one or do we need to use some plug in? please share if u have any sample code in C#.

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          You might also consider Microsoft Reports(rdlc) to make charts. You just need to pass the dataset to the report and the report will generate a chart for you. Rdlc's are very light weight(XML) and easy enough to implement. :)

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          1 Reply Last reply
          0
          • A amittinku

            Thanx, but we are using .net framework 2.0. Is it possible in 2.0?

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            For .NET 2.0, There is no such Chart Control (Microsoft Chart Control) Available. You can go for some paid service like Dundas Chart or may have look around some open source chart control.

            Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

            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