数据库连接字符串Excel2000-2003: string connStr = "Microsoft.Jet.Oledb.4.0;Data Source='c:\test.xls';Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\";";Excel20...
分类:
数据库 时间:
2014-09-05 23:35:02
阅读次数:
444
1、未在本地注册string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + FilePath + ";Extended Properties='Excel 8.0;HDR=NO;IMEX=1';";当利用上边的字符串操作xls...
分类:
其他好文 时间:
2014-09-05 21:08:52
阅读次数:
206
从代码仓库克隆源代码:$ mkdir bzrobot_ws$ cd bzrobot_ws$ hg clone http://192.168.15.88/hg/bzrobot_src src$ catkin_make$ source devel/setup.sh(IP 请根据实际实时更新)将本地代码推...
分类:
其他好文 时间:
2014-09-05 19:54:21
阅读次数:
205
flag = 1while 1: flag = flag + 1 if flag > 10: break try: f = open("file-not-exists", "r") except IOError,e: print(...
分类:
编程语言 时间:
2014-09-05 19:46:31
阅读次数:
232
ORA-07274: spdcr: access error, access to oracledenied.
问题现象:
在执行sqlplus / as sysdba 登陆数据库的时候报ORA-12545错误,如下:
[oracle@source ~]$ sqlplus / as sysdba
ORA-12545:Connect failed because targetho...
分类:
数据库 时间:
2014-09-05 18:18:11
阅读次数:
236
ORACLE游标循环有几种用法,下面分别介绍一下。首先定义游标和变量CURSOR C1 IS SELECT eNAME,ejob FROM emp WHERE deptno=10;v_NAME VARCHAR2(10);v_job VARCHAR2(10);第一种:使用loop 循环 open c1...
分类:
数据库 时间:
2014-09-05 18:08:51
阅读次数:
198
案例环境: 操作系统版本: Windows Server 2012 R2 Standard 数据库版本 : SQL SERVER 2012 SP2 案例介绍: 今天进入一台新安装的SQL Server服务器的Reporting Service管理界面时,出现如下错误信息 The report ser...
分类:
数据库 时间:
2014-09-05 18:04:01
阅读次数:
181
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
分类:
移动开发 时间:
2014-09-05 17:39:01
阅读次数:
350
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
分类:
其他好文 时间:
2014-09-05 17:38:31
阅读次数:
188
文件操作的系统函数: open函数,close函数,read函数,write函数,getcwd函数,access函数,stat函数,fstat函数 函数原型: 1:open函数 功能:打开现有的文件,或者创建新文件并打开:,成功返回值是文件标识号,失败为-1 参数:parhname是文件路径,fla...
分类:
系统相关 时间:
2014-09-05 16:02:21
阅读次数:
313