NPOI可以很方便的读取写入EXCEL,且对客户机没有要求读取excel的实例代码 1 using (FileStream file = new FileStream("可约医院列表(网址).xls", FileMode.Open, FileAccess.Read))//参数为地址和打开方式操作方....
分类:
其他好文 时间:
2014-08-05 13:25:39
阅读次数:
220
Source fileSqlConnection strcon = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["strcon"]); strcon.Open(); Sql...
分类:
其他好文 时间:
2014-08-05 13:22:39
阅读次数:
165
*A:SRC_R6#showrouterroute-table===============================================================================RouteTable(Router:Base)===============================================================================DestPrefix[Flags]TypeProtoAgePrefNextHop[Inte..
分类:
其他好文 时间:
2014-08-05 11:31:20
阅读次数:
365
## 1、下载:当前mysql版本到了5.6.20 [http://dev.mysql.com/downloads/mysql](http://dev.mysql.com/downloads/mysql) 选择`Source Code` ## 2、必要软件包 yum -y install gcc gcc-c++ gcc-g77 autoconf auto...
分类:
数据库 时间:
2014-08-05 03:16:28
阅读次数:
345
import os,sys,timefile = open('svnlog')revList = []tempList = []linen = 1for line in file: if (line.startswith("r")) : svnNumber = line.spli...
分类:
其他好文 时间:
2014-08-05 03:00:28
阅读次数:
172
新建Maven项目File - New - Other选择Maven Project 单击Next保持默认即可单击Next选择Archetype为 web app单击Next输入一些必要信息单击Finish项目结构如下图配置项目在项目上右键单击添加Source Folder修改Build Path ...
分类:
Web程序 时间:
2014-08-05 02:58:38
阅读次数:
328
Android操作系统使用SQLite数据库,使用有两种方法获得数据库对象:
1.获取已经存在的数据库
SQLiteDatabase dbbrndi=SQLiteDatabase.openDatabase("/sdcard/zhycheng.db3", null,SQLiteDatabase.OPEN_READONLY);
第一个String参数是数据库在文件系统中的位置,第二个参...
分类:
移动开发 时间:
2014-08-05 00:46:28
阅读次数:
270
window.open(URL,name,specs,replace) > Details我们一般都是通过window.open(url, name, specs)以GET方式让浏览器打开一个新的页签,如果需要传递参数,就追加在url后面,如 http://demo/?a=1&b=2问题思考1)后面...
(3)将数据写入Excel把数据写入到Excel文件是本文的关键技术。这里需要用到OpenXml。在Sdk里已经提供了足够的文件操作方法,我们就调用这些方法,将数据源的数据写到文件中。首先我们定义了一些工具类,用于读取单元格的行列值。在Excel中,每个单元格都有一个地址:如B3表示第二行第三列的格...
分类:
其他好文 时间:
2014-08-05 00:10:38
阅读次数:
226
1.去掉bridge模块,为下面用OVS的模块奠定基础rmmod bridge2.insmod datapath/linux/openvswitch_mod.ko3.insmod datapath/linux/brcompat_mod.ko4.nkdir -p /usr/local/etc/open...
分类:
其他好文 时间:
2014-08-04 23:58:48
阅读次数:
402