摘要: 数据库表设计的时候,会有很些多状态的需求,比如招聘职位需要同时发布到武汉,广州,上海 实现方法有很多种,我选择了在职位表中建一个 int 型字段保存多种状态,这个涉及到一些算法,我要查询武汉和广州的职位的sql语句大概是这样: 以下为相应的控件 阅读全文
posted @ 2016-03-17 23:44 nicye 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 使用 vs2015 打开旧项目,之前使用 iis 配置站点,然后在 vs 中附加 w3wp.exe 进行开发和调试的。 由于种种原因 iis 上配置站点各种失败。 之后发现,其实在 vs2015 中按 f5 会更方便,但是这个旧项目使用了虚拟目录。然后就一顿研究,先试了 System.Web.Rou 阅读全文
posted @ 2016-03-17 11:38 nicye 阅读(3401) 评论(0) 推荐(1) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Collections.Specialized;usingSystem.Text;usingSystem.Text.RegularExpressions;usingSystem.Threading;usingSystem.IO;usingSystem.Web;publicclassIniHelper{privatestaticDictionary<string,object>_cache=newDictionary<string,object>();priva 阅读全文
posted @ 2011-12-05 11:37 nicye 阅读(493) 评论(0) 推荐(0) 编辑