摘要: var listimportDataEOIResoults = importDataEOIResoults.Select(i => i.ProductSelectionId).ToList(); var productSelections = ... 阅读全文
posted @ 2016-01-27 09:47 龍☆ 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 转自:http://my.oschina.net/u/919074/blog/191131项目中出现在IE下出现把json对象转为json串中文变成unicode的问题,最后经过排查,发现是IE8内置JSON.stringify()引起的,解决方法如下:// 把json对象转为json串var po... 阅读全文
posted @ 2015-12-04 18:34 龍☆ 阅读(1456) 评论(0) 推荐(0) 编辑
摘要: 当没有牵涉到两个不同的数据库时,出现以上错误.Cannot resolve the collation conflict between "Chinese_PRC_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.... 阅读全文
posted @ 2015-11-12 12:15 龍☆ 阅读(2399) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.simple-talk.com/sql/t-sql-programming/consuming-json-strings-in-sql-server/http://www.cnblogs.com/huangtailang/p/4277809.htmlCREATE FUN... 阅读全文
posted @ 2015-11-05 10:24 龍☆ 阅读(2642) 评论(0) 推荐(0) 编辑
摘要: 首先说明下:第一次运行真是太慢了,处理9600多个员工数据,用了81分钟!!代码也挺简单,主要是得到数据--》对比分析--》插入分析结果到数据库。用的是EF的操作模式。 public void AllocateAllPlans() { var employees... 阅读全文
posted @ 2015-11-02 09:52 龍☆ 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 转载: iis7 发布mvc3 遇到的HTTP错误 403.14-Forbidden Web 服务器被配置为不列出此目录的内容及Login on failed for “IIS APPPOOL\ASP.NET v4.0″问题 2013年04月28日 ⁄ 综合 ⁄ 共 1277字 ⁄ 字号 小 中 大 阅读全文
posted @ 2015-10-30 10:23 龍☆ 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 转自: http://blog.csdn.net/xiaoxu0123/article/details/5622500 阅读全文
posted @ 2015-10-29 17:32 龍☆ 阅读(5363) 评论(1) 推荐(0) 编辑
摘要: 简单代码的重要顺序:能通过所有测试没有重复代码体现系统中的全部设计理念包括尽量少的实体,比如类、方法、函数等。如果同一段代码反复出现,就表示某种想法未在代码中得到良好的体现,尽力找出到底那是什么,然后尽力更清晰地表达出来。有意义的命名是体检表达力的一种方式,然而表达力还不只体现在命名上,还有检查对象... 阅读全文
posted @ 2015-10-19 11:05 龍☆ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: public int GetMonths(DateTime from, DateTime to) { int years = to.Year - from.Year; int months = to.Month - from.... 阅读全文
posted @ 2015-10-14 08:49 龍☆ 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 方式一:ALTER Proc [dbo].[usp_Rpt_AcctTypeAudit]@FromDate datetime=null, -- yyyy-mm-dd (may change in the future!)@ToDate datetime=n... 阅读全文
posted @ 2015-01-12 14:15 龍☆ 阅读(5808) 评论(0) 推荐(0) 编辑