目标:降低研发人员门槛,提高效率,去除重复引用DLL的工作,基础配置由抽象工厂处理。基础扩展/// /// DataTable 转换为List 集合///
/// 类型/// DataTable/// public static List ToList(this DataTable dt) wher...
分类:
其他好文 时间:
2014-04-30 21:27:46
阅读次数:
508
echo和print都可以做输出,不同的是,echo不是函数,没有返回值,而print是一个函数有返回值,所以相对而言如果只是输出
echo 会更快,而print_r通常用于打印变量的相关信息,通常在调试中使用。echo 不是函数,没有返回值print 是打印字符串print_r
则是打印复合...
分类:
其他好文 时间:
2014-04-30 21:18:17
阅读次数:
409
获取contextPath 获取requestURI
分类:
其他好文 时间:
2014-04-29 11:41:46
阅读次数:
313
/// /// 取文本左边内容 /// /// 文本 /// 标识符 /// 左边内容 public
static string GetLeft(string str, string s) ...
分类:
其他好文 时间:
2014-04-29 11:26:47
阅读次数:
362
未命名import java.text.DateFormat;import
java.text.ParseException;import java.text.SimpleDateFormat;import
java.util.Date;import java.util.regex.Pattern;...
分类:
编程语言 时间:
2014-04-29 11:15:46
阅读次数:
619
将原起始页面View中 Index和
Controller中的HomeController删除后报这样的错误,在global.asax设置好路由后例:public static void
RegisterRoutes(RouteCollection routes) { ...
分类:
其他好文 时间:
2014-04-29 10:38:47
阅读次数:
544
原文:C#语音朗读文本 — TTS的实现TTS, Text To
Speech的缩写,是使用语音朗读文本的技术。目前,在国内应用较多的是排队叫号系统Windows 平台的TTS,通常使用的是微软自带的 Speech
API。Windows XP 自带的是 Speech API 5.1,默认是只支持英...
分类:
其他好文 时间:
2014-04-29 10:33:46
阅读次数:
409
1、使用FileStream读写文件文件头:[csharp]view
plaincopyprint?usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.IO;读文件核心代码:[csharp]view
pla...
分类:
其他好文 时间:
2014-04-29 10:33:46
阅读次数:
434
+ (instantClass *)sharedClient {static instantClass
*_sharedClient = nil;static dispatch_once_t
onceToken;dispatch_once(&onceToken, ^{_sharedClient = ...
分类:
移动开发 时间:
2014-04-29 10:27:47
阅读次数:
419
add the following text to .vimrc or .gvimrc: if
has("cscope") set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb " add
any database in cur...
分类:
其他好文 时间:
2014-04-29 10:27:46
阅读次数:
398