This project is read-only.

Database Driven ASP.NET

Nov 14, 2013 at 8:40 PM
Ok, love the concept, but from what i've seen, all the examples use hard coded values.

Can someone point me to a place where i can see how to accomplish populating a chart using data from SQL server, using c# SQLDataAdapter?
Nov 14, 2013 at 9:38 PM
Here are two examples how SQLDataAdapter is used with the DotNet.Highcharts library:
Nov 15, 2013 at 8:10 AM
Thanks Vangi - i shall try both of these recommendations and report back.

Out of interest, any reason, why all the examples have series data hard coded?
Nov 15, 2013 at 8:13 AM

I've managed to create the following data structure using Newtonsoft.JSON :

{"MsgType":"101","Today":0,"This Week":0,"Last Week":3,"Last Month":0},
{"MsgType":"103","Today":0,"This Week":1,"Last Week":3,"Last Month":1},
{"MsgType":"202","Today":0,"This Week":0,"Last Week":3,"Last Month":0}

Is this valid data for the charting? I'm assuming it's not, but before I spend some time trying to change it, i just need to check first