代码改变世界

阅读排行榜

读CRecordset

2014-03-08 17:44 by hongjiumu, 205 阅读, 收藏,
摘要: void CDictCol::LoadDictCol(void){// 加载数据字典信息CString cstrSql;cstrSql.Format("SELECT dc.TblID, dc.TblName, dc.ColName, dc.ColIndex ""FROM %s dc WHERE dc.TblID/10000 = %d ORDER BY TblName, ColIndex",DB_TABLE_CFG_DICT_COL.c_str(), E3GLOG_ENS_VERSION_ID);CRecordset* pRecords = m_pOdbc 阅读全文

T4生成实体类

2013-02-19 23:16 by hongjiumu, 205 阅读, 收藏,
摘要: <#@ template language="C#" debug="True" hostspecific="True" #> <#@ output extension=".cs" #> <#@ assembly name="System.Data" #> <#@ assembly name="System.xml" #> <#@ import namespace="System.Collections.Gener 阅读全文

数据解析01-15

2013-01-14 22:37 by hongjiumu, 202 阅读, 收藏,
摘要: 数据解析01-15 阅读全文

plugin framework 1

2013-03-13 23:07 by hongjiumu, 201 阅读, 收藏,
摘要: plugin framework 1http://msdn.microsoft.com/en-us/library/ms972962.aspxhttp://madskristensen.net/post/Generic-plug-in-application-in-C.aspx 阅读全文

What is the fastest, case insensitive, way to see if a string contains another string in C#?

2012-12-01 10:29 by hongjiumu, 199 阅读, 收藏,
摘要: Since ToUpper would actually result in a new string being created, StringComparison.OrdinalIgnoreCase would be faster, also, regex has a lot of overhead for a simple compare like this. That said, String.IndexOf(String, StringComparison.OrdinalIgnoreCase) should be the fastest, since it does not invo 阅读全文
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 42 下一页