Downoad the dll for highcharts from this link .. http://www.highcharts.com/download
Introduction
I will explain how to create a report in JSON format using highcharts library. It's fully responsive, that's why I prefer it. Firstly, I have created Employee table in database.
I will explain how to create a report in JSON format using highcharts library. It's fully responsive, that's why I prefer it. Firstly, I have created Employee table in database.

After that, we are moving in C#..
C# Code
Create a separate class or aspx page as per your comfort.
- public class tblentity {
- public string Department {
- get;
- set;
- }
- public int Employee {
- get;
- set;
- }
- }
Create connection string and define web.config.
- <connectionStrings>
- <add name="Conn" connectionString="Data Source=YourServer;Initial Catalog=dbname;User ID=xxxx;Password=xxxxx" providerName="System.Data.SqlClient" />
- </connectionStrings>
After that, create a web method in aspx page.


Join the conversation! Your thoughts help the community grow.