2008年9月12日

.NET环境下水晶报表使用总结

摘要: g.DrawRectangle(new Pen(Color.White, 400), 0, 0, img.Width, img.Height); //定义黑色过渡型笔刷 LinearGradientBrush brush = new LinearGradientBrush(new Rectangle(0, 0, img.Width, img.Height), Col... 阅读全文

posted @ 2008-09-12 13:43 风乔 阅读(104) 评论(0) 推荐(0) 编辑

asp.net的生成曲线图(2)

摘要: g.DrawRectangle(new Pen(Color.White, 400), 0, 0, img.Width, img.Height); //定义黑色过渡型笔刷 LinearGradientBrush brush = new LinearGradientBrush(new Rectangle(0, 0, img.Width, img.Height), Col... 阅读全文

posted @ 2008-09-12 13:32 风乔 阅读(122) 评论(0) 推荐(0) 编辑

asp.net的生成曲线图(1)

摘要: 效果如下:这里是从Dataset里的数据生成曲线图.我的Dataset是从表Sendrec里读取的数据,分别有Id,Sendid(订单号),Sendtime(记录时间),Sendnum(单位时间发送量/我这里是五分钟)几个字段过程如下:public void draw(Page page,DataSet ds,int Tnum){}其中page是用来传递引用这个过程的页面,这样让页面是JPG方式直... 阅读全文

posted @ 2008-09-12 13:31 风乔 阅读(214) 评论(0) 推荐(0) 编辑

ASP.NET画柱状图和折线图

摘要: using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebContr... 阅读全文

posted @ 2008-09-12 13:31 风乔 阅读(275) 评论(0) 推荐(0) 编辑

ASP.Net绘制柱状图和曲线图示例

摘要: 本周对ASP.Net绘制图形做了番学习,学会了如何用C#代码在页面上输出代码图形,但是效果不怎么好。示例如下。public class WebForm1 : System.Web.UI.Page{ private void Page_Load(object sender, System.EventArgs e) { //This is the interface to outer u... 阅读全文

posted @ 2008-09-12 13:30 风乔 阅读(243) 评论(0) 推荐(0) 编辑

ASP.NET画曲线图

摘要: 类LineChartpublic class LineChart{ public Bitmap b; public string Title = "在ASP.NET中实现数据图表"; public ArrayList chartValues = new ArrayList(); public float Xorigin = 0, Yorigin = 0; p... 阅读全文

posted @ 2008-09-12 13:29 风乔 阅读(322) 评论(0) 推荐(0) 编辑

用ASP.net/C#画条形图,饼状图,曲线图的源代码

摘要: Chart.aspx.cs的代码:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebControls;... 阅读全文

posted @ 2008-09-12 13:28 风乔 阅读(457) 评论(0) 推荐(0) 编辑

导航