2008年9月23日
摘要: 目的,实现生成验证码的图片 private void CreateImage(string checkCode) { int iwidth = (int)(checkCode.Length * 11.5); System.Drawing.Bitmap image = new System.Drawing.Bitmap(iwidth, 20); Graphics g = Gr... 阅读全文
posted @ 2008-09-23 11:45 Stym--闫生 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1.目的,为了读取excel文件中大量的数据,并显示在页面上: protected void Page_Load(object sender, EventArgs e) { // excel文件的地址 string xlsPath = Server.MapPath("App_Data/aa.xls"); // ... 阅读全文
posted @ 2008-09-23 11:09 Stym--闫生 阅读(1154) 评论(0) 推荐(0) 编辑