代码改变世界

High Performance Multi-threaded Work Item / Event Scheduling Engine

2013-01-04 23:46 by hongjiumu, 196 阅读, 0 推荐, 收藏,
摘要:http://www.codeproject.com/Articles/24423/High-Performance-Multi-threaded-Work-Item-Event-Sc 阅读全文

c#字定义异常处理类

2013-01-04 23:46 by hongjiumu, 236 阅读, 0 推荐, 收藏,
摘要:public class DataLoaderException:Exception { private LogLevel _vLevel = LogLevel.None; private string _vsMessage = string.Empty; public LogLevel Level { get { return _vLevel; } } public string Message { get { return _vsMessa... 阅读全文

sql命令附加数据库

2013-01-03 21:26 by hongjiumu, 623 阅读, 0 推荐, 收藏,
摘要:use master;gocreate database DTcmsdb2 on (filename='D:\work\0103\DTcmsMSSQL\DB\DTcmsdb2.mdf'),(filename='D:\work\0103\DTcmsMSSQL\DB\DTcmsdb2_log.ldf')for attach;go转子:http://msdn.microsoft.com/zh-cn/library/ms189625.aspx 阅读全文

数据解析01-02

2013-01-01 21:53 by hongjiumu, 160 阅读, 0 推荐, 收藏,
摘要:数据解析01-02 阅读全文

Thread并发数控制

2013-01-01 16:28 by hongjiumu, 864 阅读, 0 推荐, 收藏,
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public class LimitedConcurrencyLevelTaskScheduler : System.Threading.Tasks.TaskScheduler { #region Memeber Declarations /// <summary> /// Whether the current th... 阅读全文

xml file parser

2012-12-29 12:01 by hongjiumu, 153 阅读, 0 推荐, 收藏,
摘要:xml file parserhttp://vtd-xml.sourceforge.net/all byte handled 阅读全文

simple workflow implement

2012-12-29 11:58 by hongjiumu, 144 阅读, 0 推荐, 收藏,
摘要:工作流简单实现http://www.codeproject.com/Articles/6947/Implementing-Object-Undo-and-Redo-capabilities-in 阅读全文

通过Assembly来创建Type Instance

2012-12-29 11:58 by hongjiumu, 507 阅读, 0 推荐, 收藏,
摘要:通过Assembly来创建Type Instance1,object obj=System.Reflection.Assembly.Load("assemblyname").CreateInstance("namespace.classname");//Assembly.Load takes a assembly name, not a file path(not include the tail of ".dll")ClassLib.User user=obj as ClassLib.User;Result:user is not 阅读全文

字符定位

2012-12-24 23:30 by hongjiumu, 268 阅读, 0 推荐, 收藏,
摘要:private void SetPositionReference(string input) { _vdPostionReference.Clear(); int currentIndex = 0; char currentChar; int iStartIndex = 0, iEndIndex = 0; string tempColumnName = string.Empty; int iColumnIndex = 0; w... 阅读全文

C#实现的不重复随机数序列生成算法

2012-12-24 23:29 by hongjiumu, 394 阅读, 0 推荐, 收藏,
摘要:C#实现的不重复随机数序列生成算法http://www.ityoudao.com/Web/Csharp_590_1366.html 阅读全文
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页