摘要: 在开始使用Eclipse的时候,会发现一个问题,那就是如何打开一个现有的Eclipse工程,开始在菜单中找了好久也没找到。 其实,Eclipse生成的结果不像VC,Jcreator那样可以直接打开,若要打开非workspace文件夹下的其他已有项目,可以打开菜单file->import->gener... 阅读全文
posted @ 2012-05-30 14:27 爱知菜 阅读(284) 评论(0) 推荐(0) 编辑
摘要: System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str,"MD5").ToLower().Substring(8,16);16的加密串,32位的话去掉后面的substring(8,16) 阅读全文
posted @ 2012-05-30 11:12 爱知菜 阅读(177) 评论(0) 推荐(0) 编辑
摘要: public string GenerateTimeStamp(DateTime dt) { // Default implementation of UNIX time of the current UTC time TimeSpan t... 阅读全文
posted @ 2012-05-30 10:16 爱知菜 阅读(284) 评论(0) 推荐(0) 编辑