代码改变世界

阅读排行榜

SharpICTCLAS分词系统简介

2013-09-09 19:28 by hongjiumu, 311 阅读, 收藏,
摘要: SharpICTCLAS分词系统简介(4)NShortPath-1http://www.cnblogs.com/zhenyulu/articles/669795.htmlSharpICTCLAS 1.0 发布!http://www.cnblogs.com/zhenyulu/archive/2007/04/18/718383.html 阅读全文

winform中跨Thread修改ui

2012-12-09 16:55 by hongjiumu, 304 阅读, 收藏,
摘要: winform中跨Thread修改ui:private Progress GetProgress(Progress progress){this.Invoke((MethodInvoker)delegate() {progressBar1.Value = (int)(progress.PostCount * 99 / progress.TotalCount);progressBar1.Refresh();});return progress;} 阅读全文

取得表名以h_开头的表,要使用left,不要使用like

2012-12-18 22:19 by hongjiumu, 302 阅读, 收藏,
摘要: 取得表名以h_开头的表:SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' andLEFT(TABLE_NAME,2)='h_'and TABLE_SCHEMA='p'特别注意:不能使用TABLE_NAME like 'h_%'因为sql2008会得到hh_开头的表。要注意! 阅读全文

导出大Excel

2013-04-25 23:30 by hongjiumu, 297 阅读, 收藏,
摘要: public static void Export(string filePath,string strSql){ ExcelApp.Application excelApp = new ExcelApp.Application(); ExcelApp._Workbook workbook = excelApp.Workbooks.Add(); try { workbook.Activate(); ExcelApp._Worksheet worksheet = workbook.Worksheets.Add(); string ... 阅读全文

List<T>.Contains(T item)为什么我把两封一样的邮件经分析后一模一样的数据mail_data先后导入进去,第2封信还是会加到mailList里去 ?? 搞不懂..

2012-09-10 15:48 by hongjiumu, 297 阅读, 收藏,
摘要: 方法1: static void Main(string[] args) { TestClass tc1 = new TestClass(); tc1.i = 1; TestClass tc2 = new TestClass(); tc2.i = 1; List<TestClass> list = new List<TestClass>(); list.Add(tc1); Console.WriteLine(lis... 阅读全文
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 42 下一页