摘要:
棒图有时又称为"Bar"图,在ASP.NET中拥有了一个新功能--绘图功能,通过此功能就能够按照要实现的图表的模样来绘制,最后在客户端的浏览器中形成一个图片,从而显示出图表来。 本文就是介绍在ASP.NET页面中实现Bar图的具体方法。希望本篇文章能够让您领会到ASP.NET中强大的绘图功能,而我们知道图表只有在和数据库关联以后,才能够显示出更强大的优势。下面就来介绍在ASP.NET页面中从数据... 阅读全文
摘要:
比以前Cool吧?呵呵,其实就是根据数据自动计算边距和字体等.[代码]看我把数据缩小一个级别的效果:因为代码里面充斥了大量注释,也不敲太多文字了..完整代码奉上:[代码]虽然系统最后附上完整代码,但是上边已经贴完了.再上传代码就显得白痴了....大家Copy上边代码到自己的项目中,调用DrawImage即可看到效果. 阅读全文
摘要:
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... 阅读全文
摘要:
usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebControl... 阅读全文
摘要:
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 ... 阅读全文
摘要:
请先下载http://asprise.com/product/ocr/index.php?lang=csharp的SDK.里面提供了详细的OCR方法,如下:将发现图像框picbVeryfyCode里的文字和文本框.txtVeryfyCode.Text是一致的.数字识别率我碰到的几乎是100%http://blog.csdn.net/crabo/[DllImport("AspriseOCR.dll"... 阅读全文
摘要:
JavaScript弹出层,背景变暗,代码不算多,根据你的需要调整一下,这里只是实现了基础的思路,美化不是太好。<title>JavaScript 弹出层,背景变暗</title><script>var docEle = function() { return document.getElementById(arguments[0]) || false;}fun... 阅读全文
摘要:
Application.DoEvents();System.Threading.Thread.Sleep(30);this.dataGridView1.FirstDisplayedScrollingRowIndex = this.dataGridView1.Rows.Count - 1;this.dataGridView1.Rows[this.dataGridView1.Rows.Count - ... 阅读全文
摘要:
Visual Studio 2005的SP1补丁已经发行一阵子了,大家应该都已经打上这个补丁了吧.但是每次在安装visual studio 2005就已经需要很长的时间了,再一打补丁,好家伙,需要的时间更长,有没有好方法让我们象当年整合window2000的SP补丁一样把VS2005 SP1补丁也整合到安装文件里呢?这样在以后安装就能节省很多的时间了.有的!从http://blogs.msdn.c... 阅读全文
摘要:
SELECT DB_NAME(database_id) AS DatabaseName,Name AS Logical_Name,Physical_Name, (size*8)/1024 SizeMBFROM sys.master_filesWHERE DB_NAME(database_id) = 'AdventureWorks'GO 阅读全文