会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
管理
上一页
1
···
27
28
29
30
31
32
33
下一页
2018年7月19日
ajax传递数组:属性traditional设置
摘要: jQuery.ajaxSettings.traditional = true; $.post("",function(){});
阅读全文
posted @ 2018-07-19 09:35 超级驼鹿
阅读(548)
评论(0)
推荐(0)
2018年7月12日
EF是否存在(Any/Count>0的用法)
摘要: 例一:要求:查询是否存在名字为“张三”的学生。 例二:要求:查询教过“张三”或“李四”的老师。 在导航属性里面使用count和使用any性能区别不大,反而FirstOrDefault() != null的方式性能最差。 在直接属性判断里面any和FirstOrDefault() != null性能区
阅读全文
posted @ 2018-07-12 14:52 超级驼鹿
阅读(3508)
评论(0)
推荐(0)
2018年7月11日
Layui上传图片(1.0版)
摘要: public ActionResult uploadPhos(HttpPostedFileBase files) //多图片上传 { if (!Directory.Exists(AppDomain.CurrentDomain.BaseDirectory + @"\Uploads")) //判断文件夹
阅读全文
posted @ 2018-07-11 16:12 超级驼鹿
阅读(441)
评论(0)
推荐(0)
Layui上传图片2.0版
摘要: 1.View <button type="button" class="layui-btn" id="test"></button> <h3>预览</h3> <img id ="img" src=""> 2.Js <script> $(function () { layui.use('upload'
阅读全文
posted @ 2018-07-11 16:01 超级驼鹿
阅读(462)
评论(0)
推荐(0)
2018年6月28日
LINQ中判断日期时间段
摘要: 1)转换日期格式为DateTime类型 DateTime dtToday = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd"));//今天 DateTime dtNexDay = Convert.ToDateTime(DateTime.No
阅读全文
posted @ 2018-06-28 17:43 超级驼鹿
阅读(2941)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
下一页
/*