如何使用图表显示gridview记录 [英] How to display the gridview record using chart

查看:73
本文介绍了如何使用图表显示gridview记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gridview记录如下;





Facname Rate



Gopi优秀

Sekar优惠

Ravi Fair

Ram差价





上面的记录是在gridview中,我想在图表中显示以上记录。



我怎么能用asp.net做用C#



请发送任何示例代码来帮助我。





REgards,

Narasiman P.

Gridview record as follows;


Facname Rate

Gopi Excellent
Sekar Good
Ravi Fair
Ram Poor


the above record is in gridview,for the above record i want to display in chart.

for that how can i do using asp.net with C#

please send any sample code abnd help me.


REgards,
Narasiman P.

推荐答案

您可以使用ASP.NET的图表控件。



看看这里:

新的ASP.NET图表控件:< asp:chart runat =server /> [ ^ ]

Microsoft .NET Framework 3.5的Microsoft图表控件 [ ^ ]

< a href =http://www.dotnetcurry.com/ShowArticle.aspx?ID=238&AspxAutoDetectCookieSupport=1>探索ASP.NET 3.5图表控件 [ ^ ]

获取ASP.NET 3.5图表入门C ontrol [ ^ ]



阅读它们......他们应该帮忙!
You can use the chart control of ASP.NET.

Have a look here:
New ASP.NET Charting Control: <asp:chart runat="server"/> [^]
Microsoft Chart Controls for Microsoft .NET Framework 3.5[^]
Exploring the ASP.NET 3.5 Chart Controls[^]
Getting Started with the ASP.NET 3.5 Chart Control [^]

Read them... they should help!


您可以使用数据图表控件。

DataGridView 放入 DataTable

DataSource 设置为 DataTable

然后将X,Y值成员分配为相应的列。
You can use Data Chart control.
Put you DataGridViewinto DataTable.
Set DataSource as DataTable.
Then assign X,Y value member as respective column.


这篇关于如何使用图表显示gridview记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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