Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
1.57/5 (3 votes)
See more: , +
I would like to use pie and bar graph in my asp page from SQL server database table
by using Entity framework 4.1.
Updated 22-Dec-13 11:44am
BK 4 code 20-Dec-13 6:00am    
Please give us more detail.
nuthi_naresh 20-Dec-13 13:49pm    
i have SQLserver database and i want to USE the tables data and populate its details in pie and bar graphs for sales, orders and purchases in a weekly,monthly,yearly basis and i am using entityframwork and C#

in a Short getting the reports of sales,purchases and orders in a graphical representation from sqldatabase using EF V4.1
Prasaad SJ 22-Dec-13 23:13pm    
I would like to know whether do you have basic understanding of EntityFramework? Bcoz the above is more like you have to get the data from sql server through entityframework and you have to use yr own logic to show the data in the chart..
nuthi_naresh 23-Dec-13 11:47am    
yes i have a basic understanding on EF as i am a beginer to EF

1 solution

ASP is not ASP.NET. ASP.NET can be web forms, or MVC. You need to explain yourself clearly.

There's a lot of different libraries for graphing in ASP.NET, some are MVC friendly, some are not. You should just google and see what libraries exist. There is no native support for what you want, apart from the fact that some jquery add on libraries do do this.
Share this answer
nuthi_naresh 23-Dec-13 11:48am    
its in Web forms not in MVC
Christian Graus 23-Dec-13 13:23pm    
OK - makes no difference. There's no direct support, you need to add a libary to add it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900