07 2015 档案

只有注册用户登录后才能阅读该文。
posted @ 2015-07-27 17:53 李子俊 阅读(32) 评论(0) 推荐(0)
摘要:在开发Web项目的时候,会有一个配置文件Web.config,用来存放一些全局的变量,如连接数据库用的字符串。相应的,在开发winform程序时,也有一个配置文件,它就是App.config,这个文件的作用与Web.config大致相同,也可以用来存放程序所用的全局变量及Value值。 来看一个a... 阅读全文
posted @ 2015-07-24 16:12 李子俊 阅读(152) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2015-07-20 10:12 李子俊 阅读(3540) 评论(0) 推荐(0)
摘要:private static string NewMethod(string encypStr) { MD5CryptoServiceProvider provider = new MD5CryptoServiceProvider(); by... 阅读全文
posted @ 2015-07-08 19:35 李子俊 阅读(126) 评论(0) 推荐(0)
摘要:System.Timers.Timer pTimer = new System.Timers.Timer(10000);//每隔5秒执行一次,没用winfrom自带的 pTimer.Elapsed += Button1;//委托,要执行的方法 ... 阅读全文
posted @ 2015-07-08 10:46 李子俊 阅读(1251) 评论(0) 推荐(0)
摘要:protected void ImageButton7_Click(object sender, ImageClickEventArgs e) { string D_where = string.Empty; if (string.IsNul... 阅读全文
posted @ 2015-07-07 17:23 李子俊 阅读(391) 评论(0) 推荐(0)
摘要:public class VerifyCode { #region 验证码长度(默认4个验证码的长度) int length = 4; public int Length { get { return length;... 阅读全文
posted @ 2015-07-02 18:17 李子俊 阅读(211) 评论(0) 推荐(0)