会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
努力努力再努力
得之坦然,失之淡然,争其必然,顺其自然
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2018年11月29日
参数化属性
摘要: 或者 for (int k = 1; k < 20; k++) { string value = "SubjectMoney" + k; System.Reflection.PropertyInfo[] propertys = teaList[i].GetType().GetProperties()
阅读全文
posted @ 2018-11-29 10:42 Leegj
阅读(197)
评论(0)
推荐(0)
编辑
2018年11月26日
ef 实体中映射的数据重复
摘要: ef映射数据库的时候 必须是唯一主键,在db first模式中:如果标志没有设置主键的话,是映射不成功的。 另外一种情况 创建视图的时候你的id值不唯一的话,ef查询的时候会导致数据重复(都是数据中的第一条数据)。所以当创建视图的时候,必须保证主键唯一。才不会导致数据错乱
阅读全文
posted @ 2018-11-26 12:30 Leegj
阅读(469)
评论(0)
推荐(0)
编辑
Distinct 条件去重
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ZY.Common { public static class CommonHelper { /// /// 自定...
阅读全文
posted @ 2018-11-26 12:25 Leegj
阅读(1187)
评论(0)
推荐(0)
编辑
2018年10月30日
ajax error的报错提示
摘要: //error: function (XMLHttpResponse, textStatus, errorThrown) { // console.log("1 异步调用返回失败,XMLHttpResponse.readyState:" + XMLHttpResponse.readyState);
阅读全文
posted @ 2018-10-30 17:14 Leegj
阅读(744)
评论(0)
推荐(0)
编辑
2018年9月25日
$(function () {}) 作用域调用方法
摘要: 1 $(".btn1").on("click",function(){ $.fun1(); }) $(".btn2").on("click",function(){ fun2(); }) $(".btn3").on("click",function(){ fun3(); }) $(function(){ /*jquery扩展函数*/ $.extend({'fun1':function(){ a...
阅读全文
posted @ 2018-09-25 10:43 Leegj
阅读(515)
评论(0)
推荐(0)
编辑
2018年9月21日
js数组push 问题
摘要: var aa = []; $(".read-mode tr td").each(function () { var JsonData = { Formnumber: "", Formname: "" } if ($(this).find("input[type=radio]:checked").va
阅读全文
posted @ 2018-09-21 09:39 Leegj
阅读(662)
评论(0)
推荐(0)
编辑
2018年9月6日
sql sever 批量插入
摘要: /// <summary>/// 提供数据批量处理的方法。/// </summary>public interface IBatcherProvider : IProviderService{/// <summary>/// 将 <see cref="DataTable"/> 的数据批量插入到数据库
阅读全文
posted @ 2018-09-06 19:16 Leegj
阅读(328)
评论(0)
推荐(0)
编辑
2018年9月4日
js控制打印页眉页脚日期网站
摘要: <!DOCTYPE html><html><head> <title>打印</title> <meta charset="utf-8"> <style> .printBox { width: 300px; height: 300px; border: 1px solid blue; } </styl
阅读全文
posted @ 2018-09-04 11:59 Leegj
阅读(268)
评论(0)
推荐(0)
编辑
2018年8月14日
设计模式之六大设计原则
摘要:
阅读全文
posted @ 2018-08-14 09:37 Leegj
阅读(115)
评论(0)
推荐(0)
编辑
2018年3月9日
VS2017 启动调试出现 无法启动程序“http://localhost:15613” 操作在当前状态中是非法的
摘要: 刚开始查找了很多的原因,一直没有解决。偶然间更改了下启动的默认浏览器。这个问题就解决了, 原来vs启动的浏览器需要跟电脑的默认浏览器相同才不会出现这个情况,我所用的是2017的专业版。之前我所用的版本(2008、2015等)并没有出现这个问题。 这里贴出来方便遇到相同问题可以试试这方法。
阅读全文
posted @ 2018-03-09 10:34 Leegj
阅读(572)
评论(0)
推荐(0)
编辑
上一页
1
2