摘要: List<DBParameter> param = new List<DBParameter>(){ new DBParameter("@QuestionId", DbType.AnsiString) { Value=QuestionId}}; 初始化DBParameter的时候需要指定DbType 阅读全文
posted @ 2016-12-24 17:55 huangzebin 阅读(334) 评论(0) 推荐(0)
摘要: 解决方案:在form表单加入 autocomplete="off"。 阅读全文
posted @ 2016-12-14 16:44 huangzebin 阅读(363) 评论(0) 推荐(0)
摘要: function HTMLEncode(html) { var temp = document.createElement("div"); (temp.innerText != null) ? (temp.innerText = html) : (temp.textContent = html); 阅读全文
posted @ 2016-12-09 17:48 huangzebin 阅读(304) 评论(0) 推荐(0)
摘要: 解决办法:假如页面对Session只读不写,可以在页面的开头加上EnableSessionState="ReadOnly"。 阅读全文
posted @ 2016-12-08 14:53 huangzebin 阅读(886) 评论(0) 推荐(0)
摘要: $(document).on('mouseover mouseout','ul li',function(){ if (event.type == 'mouseover') { console.log($(this)); }else if(event.type == 'mouseout'){ con 阅读全文
posted @ 2016-12-08 11:15 huangzebin 阅读(1764) 评论(0) 推荐(0)