目标:降低研发人员门槛,提高效率,去除重复引用DLL的工作,基础配置由抽象工厂处理。基础扩展/// /// DataTable 转换为List 集合///
/// 类型/// DataTable/// public static List ToList(this DataTable dt) wher...
分类:
其他好文 时间:
2014-04-30 21:27:46
阅读次数:
508
这篇文章讨论如何处理所有的控制台消息。
第一步,首先要安装一个事件钩子,也就是说要建立一个回调函数。调用Win32 API,原型如下:BOOL
SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine, // 回调函数BOOL Add //
表示.....
由于安装MySQL的时候,疏忽没有选择底层编码方式,采用默认的ASCII的编码格式,于是接二连三的中文转换问题随之而来,就想卸载了重新安装MYSQL,这一卸载倒是出了问题,导致安装的时候安装不上,在网上找了一个多小时也没解决。
重装系统永远是个好办法,但有谁喜欢这么做呀:( 后来无意发现...
分类:
数据库 时间:
2014-04-30 20:44:00
阅读次数:
445
1 package com.kite.pi; 2 3 import java.util.List; 4
5 import org.jbpm.api.Configuration; 6 import org.jbpm.api.ProcessInstance; 7
import org...
分类:
其他好文 时间:
2014-04-30 20:38:40
阅读次数:
514
练习一个小例子,在C#中,怎样对泛型List数据集进行系列化与反系列化。我们先了解msdn提供的JavaScriptSerializer类:JavaScriptSerializer
Class创建一个类Product,它有几个属性:现Insus.NET打开asp.net练习网站,就新建一个aspx,...
分类:
其他好文 时间:
2014-04-30 20:10:13
阅读次数:
419
set nocompatible " 关闭 vi 兼容模式syntax on " 自动语法高亮set
number " 显示行号set ruler " 打开状态栏标尺set shiftwidth=4 " 设定 > 命令移动时的宽度为 4set
textwidth=80 " 设置每行80个字符自动换行...
分类:
其他好文 时间:
2014-04-29 11:42:46
阅读次数:
603
/****** Object: StoredProcedure
[dbo].[PRO_PageForIdTable] Script Date: 04/29/2014 11:23:21 ******/SET
ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO--...
分类:
数据库 时间:
2014-04-29 11:38:46
阅读次数:
470
String[] strs = {"string--01", "string--02",
"string--03", "string--04"};List strsList =
Arrays.asList(strs);//以下语句输出:[string--01, string--02, string-...
分类:
其他好文 时间:
2014-04-29 11:33:45
阅读次数:
345
一、linux 命令 0.man:查询使用手册1.pwd:Print the full
filename of the current working directory. 打印当前工作目录(文件夹)2.ls:List information
about the FILEs (the current...
分类:
编程语言 时间:
2014-04-29 11:31:46
阅读次数:
489
/// /// 取文本左边内容 /// /// 文本 /// 标识符 /// 左边内容 public
static string GetLeft(string str, string s) ...
分类:
其他好文 时间:
2014-04-29 11:26:47
阅读次数:
362