public void CreateDataGrid() { DataTable flowTable=new WorkFlowBLL().GetFlowTableByCode(Functio
public void CreateDataGrid() { DataTable flowTable=new WorkFlowBLL().GetFlowTableByCode(Functio
在使用Excel处理报表时候,往往要利用系统带的图表工具生成比例示意图,不仅直观,又显专业。当然,在Web应用程序中,也可以使用Office Web Components 功能,但是却很复杂。在.
我们在设计用户登录模块时,经常会用到验证码,可以有效地防止黑客软件的恶意破解,现公开我常用的验证码的源代码。 使用方法: 1、在Web项目中添加一个类,如“CreateIm
string _FontName = Request.ToString(); int _FontSize = Convert.ToInt16(Request); string _ShowN
<!--Main.Aspx--> <%@ page language="C#" %> <%@ import namespace=System.IO %> <s
string _FontName = Request.ToString(); int _FontSize = Convert.ToInt16(Request); string _ShowN
ASP.NET生成缩略图失真非常厉害,如果图像原文件为JPG格式的,可以通过以下程序优化!!!如果是其它格式的图片可以在上传时候保存为JPG格式的,详情情参见 C#版本: p
新建一个页面image.aspx,添加命名空间: using System.Drawing.Imaging; using System.IO; 然后在Page_load事件拷入如下
''生成图象验证码函数 Sub ValidateCode(ByVal VNum As String) Dim Img As System.Drawing.B