上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 63 下一页
  2018年1月19日
摘要: 代码: DataTable dt = ClassWorkInfoBLL.GetStuWorkList(UserID, PageIndex, PageSize); var data = from item in dt.AsEnumerable() group item by new { t1 = it 阅读全文
posted @ 2018-01-19 15:59 邢帅杰 阅读(191) 评论(0) 推荐(0)
  2018年1月16日
摘要: http://blog.csdn.net/u011981242/article/details/52622923 http://www.jb51.net/article/46384.htm 读取身份证:https://www.cnblogs.com/softcg/p/6510984.html 析构函 阅读全文
posted @ 2018-01-16 16:54 邢帅杰 阅读(5754) 评论(0) 推荐(0)
  2018年1月11日
摘要: 今天遇到一个问题,消息通知可以同时发送给多个班级,而查询消息通知的时候并不需要根据班级分组,如何把多个班级的名称合并成一行数据追加到消息通知的后面呢 然后就发现了 group_concat: 结果就是这样了 1 test data!!! 0 2017-10-10 00:00:00 小太阳班,小山羊班 阅读全文
posted @ 2018-01-11 10:52 邢帅杰 阅读(385) 评论(0) 推荐(0)
  2017年12月20日
摘要: 1.建立MVC项目》NuGet安装EF 2.建立模型: 模型需要引用命名空间: using System.ComponentModel.DataAnnotations;using System.ComponentModel.DataAnnotations.Schema; 3.建立数据库类 DbCon 阅读全文
posted @ 2017-12-20 10:35 邢帅杰 阅读(219) 评论(0) 推荐(0)
  2017年12月14日
摘要: 第一步:修改web.config配置 在 <system.web>节点下加入配置:未登录的用户跳转到/Home/Login,登录后跳转到/Home/UserCenter,登录后票证记录到cookie,cookie超时时间2880分钟。<allow users="?" />是允许匿名访问的意思。 fo 阅读全文
posted @ 2017-12-14 09:40 邢帅杰 阅读(303) 评论(0) 推荐(0)
  2017年12月7日
摘要: 代码: 阅读全文
posted @ 2017-12-07 17:57 邢帅杰 阅读(220) 评论(0) 推荐(0)
  2017年11月30日
摘要: 代码 阅读全文
posted @ 2017-11-30 17:37 邢帅杰 阅读(7778) 评论(0) 推荐(1)
摘要: 获得对象所有属性的值的拼接 /// <summary> /// 获得对象所有属性的值的拼接 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="t"></param> /// <returns></returns> 阅读全文
posted @ 2017-11-30 10:47 邢帅杰 阅读(1211) 评论(0) 推荐(0)
  2017年11月29日
摘要: 很多时候我们要在微信中分享h5网页,这个时候就得用微信的分享接口来自定义分享的地址、标题、描述、缩略图了。 分享到微信的时候遇到一个问题,就是第一次分享到微信里,是正确的,但是在微信打开分享的链接,再次分享的时候,发现小图片没了。 原因就是微信在你分享的时候,会自动给你分享的地址后面加入参数,导致你 阅读全文
posted @ 2017-11-29 13:20 邢帅杰 阅读(7782) 评论(0) 推荐(0)
  2017年11月27日
摘要: 1.GET请求传递参数 URL传参:http://localhost/ApiTest/test?id=1 API接收参数 [HttpGet] public string GetUser(int id) { return "User:" + id; } 传递JSON对象: $.ajax({ type: 阅读全文
posted @ 2017-11-27 18:09 邢帅杰 阅读(177) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 63 下一页