上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 原文链接:http://hi.baidu.com/x278384/blog/item/0ba563102a476af4c3ce79e8.html效果图:后台代码:后台C#代码using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI 阅读全文
posted @ 2011-12-22 14:13 eva.xiao 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: http://xheditor.com/ XhEditor官网,可下载文件包在VS中新建一个文件夹Editor,将下载的XhEditor的文件包拖到新建的文件夹Editor中。如下图所示:应用时,在Html中添加如下引用代码: <style type="text/css"> /*For News Or Artical Edit*/ .newscontent { width: 780px; height: 520px; } </style> <script src="Editor/jquery/jquery-1.4.4.min.js&q 阅读全文
posted @ 2011-12-12 17:20 eva.xiao 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 用Microsoft.Interop.Excel12.0导出数据,本地成功。但往往发布到IIS后,因为权限设置等问题,导出会失败。后来网上搜到另外一种导出方法, 沿袭Gridview中的数据导出,倒也实用。View Code //将datatable中数据导入到execl中 private void DataTable3Excel(System.Data.DataTable dtData, String FileName){ System.Web.UI.WebControls.GridView dtExport = null; //当前对话 ... 阅读全文
posted @ 2011-12-12 16:56 eva.xiao 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 重写VerifyRenderingInServerForm(Control control),否则报错。具体原因还未知,Searching...public override void VerifyRenderingInServerForm(Control control){}//导出到Excelprivate void ExportToExcel(){ Response.Clear(); Response.BufferOutput = true; //设定输出的字符集 Response.Charset = "GB2312"; //假定导出的文件名为F... 阅读全文
posted @ 2011-12-12 16:51 eva.xiao 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 原文:微软图表控件MsChart使用初探昨天在网上看到了微软发布了.NET 3.5框架下的图表控件,第一时间抓下来看了一下,发觉功能很强劲,基本上能想到的图表都可以使用它绘制出来,给图形统计和报表图形显示提供了很好的解决办法,同时支持Web和WinForm两种方式,不过缺点也比较明显,只能在最新的开发环境中使用,需要.Net 3.5 Sp1以及VS 2008的开发环境。下面是下载地址: 控件:Microsoft .NET Framework 3.5 的 Microsoft 图表控件(Microsoft Chart Controls for Microsoft .NET Framework 3. 阅读全文
posted @ 2011-12-12 16:30 eva.xiao 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 线性图,ChartType=“Line”是折线,ChartType="Spline"是平滑曲线HTML教程 1 <asp:Chart ID="Chart1" runat="server" Width="930px" Height="500" BackColor="Azure" BackSecondaryColor="White" BackGradientStyle="TopBottom"> 2 <Legends> 阅读全文
posted @ 2011-12-12 16:25 eva.xiao 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 雷达图(有多个产品时): --%> ... 阅读全文
posted @ 2011-12-12 16:17 eva.xiao 阅读(2715) 评论(0) 推荐(0) 编辑
摘要: 雷达图(只有一个产品时):将Series1的Color=“Transparent”,设置为透明,Or是整个区域的颜色。是一个产品的趋势时候还无所谓,如果是两个产品的前面的就会覆盖后面的趋势图。HTML 1 2 3 4 5 6 ... 阅读全文
posted @ 2011-12-12 16:00 eva.xiao 阅读(3397) 评论(0) 推荐(0) 编辑
摘要: MsChart,饼状图HTML 1 <asp:Chart ID="Chart1" runat="server" BorderlineDashStyle="Solid" BorderlineColor="Gray" Width="768px" BackGradientStyle="DiagonalLeft" BackSecondaryColor="AliceBlue" 2 BackColor="WhiteSmoke"> 3 & 阅读全文
posted @ 2011-12-12 15:44 eva.xiao 阅读(1826) 评论(0) 推荐(0) 编辑
摘要: 微软Chart控件的安装及其使用,参考:微软图表控件MsChart使用初探,这篇文章写得相当详细,入门使用全是她的功劳~以下,是分享的一个柱状图的好看的样式,先预览一下:HTML 1 3 4 5 6 7 9 10... 阅读全文
posted @ 2011-12-12 15:37 eva.xiao 阅读(5366) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页