使用js连接到asp.net应用程序中的sql数据库创建图表

问题描述:

我当前的项目要求我在现有的asp.net 3应用程序中设计向下显示来自sql数据库的实时数据的图表。

你能指导我一下这个方法来解决这个问题。 ,如果可能的话,使用所需的技术和示例/示例代码。我还是.NET开发的新手,我有点亏本:(





额外的OP'从下面的评论复制的信息



让我尝试改写问题:我需要通过ASP.NET连接到sql数据库,并且可以访问用于创建钻取图表的javascript中的数据。我发现可能的解决方案是使用Linq,但是我如何访问js中的数据对象。其他建议是JSON。我不清楚整个流程但是

My current project requires that I design drill down charts displaying live data from sql database, in an existing asp.net 3 application.
Could you please guide me as to the best way to approach this, required technologies to be used and examples/sample code if possible. I''m still new to .NET development and am at a bit of a loss :(


additional OP''s information copied from comment below

let me try rephrase question:I need to connect to sql database through ASP.NET, and have access to that data in javascript which Im using to create the drilldown charts. Possible solution I found is using Linq, but how do I access data object in js.Other suggestion was JSON. I am unclear on whole processflow however

您好,



您可以使用AJAX以及以下图表库之一来生成明细表。



Hello,

You can use AJAX along with one of the following chart libraries to generate the drilldown charts.


  • JS Charts
  • InfoVis
  • Fusion Charts