上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 40 下一页
摘要: #region 实体转换 /// /// add extension method for datable /// /// /// public static IList ToList(this DataTa... 阅读全文
posted @ 2015-06-19 09:35 calochCN 阅读(363) 评论(0) 推荐(0) 编辑
摘要: SELECT T_AssetInfos_ID, MAX(T_AssetConstruct_Name), MAX(T_AssetProperties_Name), SUM(CAST(PropertyValue AS INT))FROM T_AssetProper... 阅读全文
posted @ 2015-06-19 09:03 calochCN 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.摘抄认识Fluent Vaidation. 看到NopCommerce项目中用到这个组建是如此的简单,将数据验证从业务实体类中分离出来,真是一个天才的想法,后来才知道这个东西是一个开源的轻量级验证组建。 Fluent Validation 翻译为:流畅验证 开源Codeplex其主页简... 阅读全文
posted @ 2015-06-16 09:51 calochCN 阅读(433) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Data;using System.IO;using System.Linq;using System.Net;using System.Net.Sockets;using Syst... 阅读全文
posted @ 2015-06-15 17:44 calochCN 阅读(811) 评论(0) 推荐(0) 编辑
摘要: 如题,对于winform程序,还是新建一个类库,这样,在类库里面可以添加窗体。这样可以提供其他程序集来调用里面的窗体 阅读全文
posted @ 2015-06-12 19:16 calochCN 阅读(276) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2015-06-12 15:26 calochCN 阅读(154) 评论(0) 推荐(0) 编辑
摘要: yield在迭代器块中用于向枚举数对象提供值或发出迭代结束信号。它的形式为下列之一:yield return ;yield break; 计算表达式并以枚举数对象值的形式返回;expression 必须可以隐式转换为迭代器的 yield 类型。yield 语句只能出现在 iterator 块... 阅读全文
posted @ 2015-06-12 08:35 calochCN 阅读(217) 评论(0) 推荐(0) 编辑
摘要: up 阅读全文
posted @ 2015-06-11 16:21 calochCN 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 项目中要使用下拉检索的时候要支持拼音首字母。本来拼音可以写后台,这里放前台了。放代码1. pinyin.js ,最后为了使用方便,直接为string对象添加了扩展方法/* File Created: 六月 10, 2015 *//***************创造者:cst功能:js将汉字转拼音调用... 阅读全文
posted @ 2015-06-11 14:57 calochCN 阅读(5747) 评论(1) 推荐(1) 编辑
摘要: qlserver 批量插入记录时,对有标识列的字段要设置 set IDENTITY_INSERT 表名 on,然后再执行插入记录操作;插入完毕后恢复为 off 设置格式: set IDENTITY_INSERT 表名 on set IDENTITY_INSERT 表名 off 阅读全文
posted @ 2015-06-10 10:53 calochCN 阅读(328) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 40 下一页