博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

09 2012 档案

摘要:1.insert into tbProduct (ID,UserID) select A,B from OpenDataSource('Microsoft.Jet.OLEDB.4.0','Data Source="D:\DLL\tbProduct.xls";Extended properties="Excel 4.0;HDR=Yes"')...[sheet1$]go2.启用Ad Hoc Distributed Queriesexec sp_configure 'show advanced options', 阅读全文

posted @ 2012-09-08 11:52 IT小炸弹 阅读(170) 评论(0) 推荐(0)

摘要:分词 1privatevoidfc(stringkeyWord)//自定义分词方法2{3if(m_SimpleDictSeg==null)4{5try6{7m_SimpleDictSeg=newCSimpleDictSeg();8m_SimpleDictSeg.DictPath=Server.MapPath("Data/");//指定分词词库位置9m_SimpleDictSeg.LoadDict();//装载字库到内存10}11catch(Exceptione1)12{13m_SimpleDictSeg=null;14Response.Write(String.Format 阅读全文

posted @ 2012-09-07 15:42 IT小炸弹 阅读(272) 评论(0) 推荐(0)