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
阅读(210)
推荐(0)
2018年11月26日
摘要:
ef映射数据库的时候 必须是唯一主键,在db first模式中:如果标志没有设置主键的话,是映射不成功的。 另外一种情况 创建视图的时候你的id值不唯一的话,ef查询的时候会导致数据重复(都是数据中的第一条数据)。所以当创建视图的时候,必须保证主键唯一。才不会导致数据错乱
阅读全文
posted @ 2018-11-26 12:30
Leegj
阅读(491)
推荐(0)
摘要:
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
阅读(1190)
推荐(0)
2018年10月30日
摘要:
//error: function (XMLHttpResponse, textStatus, errorThrown) { // console.log("1 异步调用返回失败,XMLHttpResponse.readyState:" + XMLHttpResponse.readyState);
阅读全文
posted @ 2018-10-30 17:14
Leegj
阅读(752)
推荐(0)
2018年9月25日
摘要:
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
阅读(524)
推荐(0)
2018年9月21日
摘要:
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
阅读(675)
推荐(0)
2018年9月6日
摘要:
/// <summary>/// 提供数据批量处理的方法。/// </summary>public interface IBatcherProvider : IProviderService{/// <summary>/// 将 <see cref="DataTable"/> 的数据批量插入到数据库
阅读全文
posted @ 2018-09-06 19:16
Leegj
阅读(336)
推荐(0)
2018年9月4日
摘要:
<!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
阅读(298)
推荐(0)
2018年8月14日
posted @ 2018-08-14 09:37
Leegj
阅读(127)
推荐(0)
2018年3月9日
摘要:
刚开始查找了很多的原因,一直没有解决。偶然间更改了下启动的默认浏览器。这个问题就解决了, 原来vs启动的浏览器需要跟电脑的默认浏览器相同才不会出现这个情况,我所用的是2017的专业版。之前我所用的版本(2008、2015等)并没有出现这个问题。 这里贴出来方便遇到相同问题可以试试这方法。
阅读全文
posted @ 2018-03-09 10:34
Leegj
阅读(586)
推荐(0)