05 2014 档案

摘要:using System;using System.Web;using System.Drawing;using System.Web.SessionState;public class ValidateCode : IHttpHandler,IRequiresSessionState { p... 阅读全文
posted @ 2014-05-23 19:00 我的技术控件 阅读(163) 评论(0) 推荐(0)
摘要:adfafa adfadf adfadf adfadf adfadf adfadf ... 阅读全文
posted @ 2014-05-23 18:47 我的技术控件 阅读(123) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.IO;using NVelocity.App;using NVelocity... 阅读全文
posted @ 2014-05-23 16:42 我的技术控件 阅读(212) 评论(0) 推荐(0)
摘要:using (Bitmap bitmap=new Bitmap(100,40)) { using (Graphics g=Graphics.FromImage(bitmap)) { ... 阅读全文
posted @ 2014-05-23 15:34 我的技术控件 阅读(216) 评论(0) 推荐(0)
摘要:1 新建一般处理程序 .ashx public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain";context.Response.Write("Hello W... 阅读全文
posted @ 2014-05-23 15:07 我的技术控件 阅读(266) 评论(0) 推荐(0)
摘要:写SQL模糊查询语句可能大多数是这样写: string sql = "select * from UserInfo where username like '%"+username +"%'"; 但这样直接在sql语句中拼接字符串似乎不太明智。很不安全。 还有一种写法: string sql = "... 阅读全文
posted @ 2014-05-06 18:16 我的技术控件 阅读(898) 评论(0) 推荐(0)