摘要:
-- 查找树的所有子节点 with cte as (select Id,Pid,Name from dc_trees where pid=2union allselect t.id,t.pid,t.Name from cte a,dc_trees t where t.pid=a.id)select 阅读全文
摘要:
JS正则表达式验证账号、手机号、电话和邮箱效果体验:http://keleyi.com/keleyi/phtml/jstexiao/15.htm验证帐号是否合法验证规则:字母、数字、下划线组成,字母开头,4-16位。function checkUser(str){ var re = /^[a-... 阅读全文
摘要:
提交表单的2种方式 // ajaxForm$("#form1").ajaxForm(options);// ajaxSubmit$("#btnAjaxSubmit").click(function () {$("#form1").ajaxSubmit(options);});详细http://ww... 阅读全文
摘要:
http://news.cnblogs.com/n/534964/ 阅读全文
摘要:
后台通过context.Request.InputStream来接收#region 发送消息 + void SendMessage() /// /// 发送消息 /// public void SendMessage() { //CurrentCont... 阅读全文
摘要:
根据官方的建议:具有 true 和 false 两个属性的属性,如 checked, selected 或者 disabled 使用prop(),其他的使用 attr()详细内容:http://www.cnblogs.com/zhwl/p/3520162.html 阅读全文
摘要:
AutoMapper是用来解决对象之间映射转换的类库。对于我们开发人员来说,写对象之间互相转换的代码是一件极其浪费生命的事情,AutoMapper能够帮助我们节省不少时间。 阅读全文
摘要:
select top 10 a.ID as a_ID,a.Name as a_Name,c.* from (select * from DC_Trees where Pid=187 or ID=187 ) a ... 阅读全文
摘要:
string postUrl = "https://api.mch.weixin.qq.com/mmpaymkttransfers/gethbinfo"; //string requestStr= Utils.DCUtils.HttpPost(po... 阅读全文
摘要:
1 删除整张表的数据,并还原自增长值TRUNCATE TABLE TbWeixinActivity 2 3张表左连接select a.ID,c.Name,b.nickname,a.CreateDate from TbUserJoin as a left join tbWX_User as b o... 阅读全文