上一页 1 ··· 4 5 6 7 8
摘要: sudo rm /usr/local/mysqlsudo rm -rf /usr/local/mysql*sudo rm -rf /Library/StartupItems/MySQLCOMsudo rm -rf /Library/PreferencePanes/My*vim /etc/hostco... 阅读全文
posted @ 2015-07-02 14:36 DemonWang 阅读(228) 评论(0) 推荐(0) 编辑
摘要: AngularJs 阅读全文
posted @ 2013-11-08 10:50 DemonWang 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 如果想输入属性 : public class Class1 { public int MyProperty { get; set; } }可以先输入prop 然后按table键就会自动生成属性框架 public class Class1 { public int MyProperty { get;... 阅读全文
posted @ 2013-01-13 18:16 DemonWang 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 今天玩了玩C/S开发,也随便练习了很久不用的委托父窗体中写的代码#region 委托与事件传递 public delegate void TextChangedHandler(string s); public class CallObject { //用来存放子窗体返回的结果 public str... 阅读全文
posted @ 2011-12-12 23:11 DemonWang 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 最近被WCF弄得身心疲惫。今天抽空看了一下页面传值的一些技巧。传统的cookie session 什么的就不介绍了今天介绍Context的用法首先要应用using System.Runtime.Remoting.Contexts;命名空间public static string strname =... 阅读全文
posted @ 2011-12-04 01:39 DemonWang 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 这几天项目中做了个过滤器 现在共享一下/// /// 有登录入口的过滤器 继承此BaseController就可以了 /// public class BaseController : Controller,IAuthorizationFilter { protected override vo... 阅读全文
posted @ 2011-12-01 00:25 DemonWang 阅读(439) 评论(0) 推荐(0) 编辑
摘要: HttpCookie cookie = new HttpCookie("user"); //给cookie赋值 cookie.Value = "test"; //如果多个字符赋值 cookie["sex"] = "男"; //或者 cookie.Values.Add("age","30"); //控... 阅读全文
posted @ 2011-11-27 01:17 DemonWang 阅读(361) 评论(0) 推荐(0) 编辑
摘要: //MD5特殊加密publicstaticstringMD51(stringpassword){stringstrResult="";MD5md5=System.Security.Cryptography.MD5.Create();byte[]byteresult=md5.ComputeHash(E... 阅读全文
posted @ 2011-10-17 15:28 DemonWang 阅读(480) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8
点击右上角即可分享
微信分享提示