利用Graphics对象在页面中绘制数据统计图  

Use Graphics Object to Render Data Charts in Web Page

在线阅读下载全文

作  者:王伟[1] 刘文菊[1] 

机构地区:[1]天津工业大学计算机学院,天津300160

出  处:《阴山学刊(自然科学版)》2008年第4期75-76,82,共3页Yinshan Academic Journal(Natural Science Edition)

摘  要:研究在ASP.NET页面中,自行绘制数据统计图的方法,不使用外部控件也可实现。首先,使用ADO.NET类,由Connection对象连接数据库,其他对象如DataAdapter和Command对象通过它与数据库通信,本文以SQL Server 2000为例创建数据库。其次,在Web窗体网页上绘图时,创建位图,继而建立引用该位图的Graphics对象用于绘制柱状图、折线图、显示文本的操作。methods of no using external control and self-drawn data charts in ASP.NET page are discussed in the paper.1:using ADO.NET class,make use of Connection object to connect the database,and make use of other objects such as DataAdapter and Command objects to communicate with database.This method is demonstrated using SQL Server 2000 database as an example in the paper.2:creating a bitmap,referencing Graphics object of this bitmap draw histogram, line chart and show text when rendering a graphics in web page.

关 键 词:统计图表 数据库 ASP.NET环境 ADO.NET Graphics对象 

分 类 号:TP393.09[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象