使用js连接到asp.net应用程序中的sql数据库创建图表 [英] Creating charts with js connecting to sql database in asp.net application

查看:94
本文介绍了使用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


这篇关于使用js连接到asp.net应用程序中的sql数据库创建图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆