import java.io.InputStream;
import java.sql.Connection;
import java.sql.Date;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import jav...
分类:
数据库 时间:
2014-07-09 11:22:50
阅读次数:
262
远程调用内核接口的封装类(RCKObjs), RCK 包含 Application, Function, Connection, Command, Response 和 Fields 六大类。...
分类:
Web程序 时间:
2014-07-09 10:28:56
阅读次数:
273
The Lost House
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 2140
Accepted: 886
Description
One day a snail climbed up to a big tree and finally came to th...
分类:
其他好文 时间:
2014-07-08 18:08:00
阅读次数:
267
importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.PreparedStatement;importjava.sql.ResultSet;publicclasstest{publicstaticfinalStringDBDRIVER="com.mysql.jdbc.Driver";//定义MySQL数据库的连接地址publicstaticfinalStringDBURL="jdbc:mysql://lo..
分类:
数据库 时间:
2014-07-08 10:04:24
阅读次数:
357
System.ConfigurationManager类用于对配置文件的读取。其具有的成员如下:一、AppSettings AppSetting是最简单的配置节,读写非常简单。名称说明AppSettings获取当前应用程序默认配置的 AppSettingsSection 数据Connection.....
分类:
其他好文 时间:
2014-07-06 20:46:10
阅读次数:
107
//ODBC连接Excelpublic static void main(String[] args) {Connection conn = null;Statement stm = null;ResultSet rs = null;try {//加载ODBC驱动Class.forName("sun...
分类:
数据库 时间:
2014-07-06 16:51:33
阅读次数:
234
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:
数据库 时间:
2014-07-06 16:43:00
阅读次数:
284
Hibernate Session 获取connection由于最近一个项目要用到一条辅助的SQL ,hibernate里面的SQLQuery API 总的SQL语句不能包含 : 冒号, 固放弃Hibernate, 直接使用JDBC.Hibernate3.3.2版本中getSession().con...
分类:
系统相关 时间:
2014-07-06 14:46:30
阅读次数:
349
在VB中,连接ACCESS数据库的方法主要有以下三种 使用ADO对象,通过编写代码訪问数据库 Connection 对象 ODBC数据源使用ADO Data 控件高速创建数据库连接 有三种连接方法 Data Link文件 使用ODBC数据源名称 使用连接字符串 使用数据环境设计器创建数据...
分类:
数据库 时间:
2014-07-05 17:32:06
阅读次数:
277
public function post_tweet($tweet_text) {
include_once('twitter/tmhOAuth.php');//tmhOAuth.php为twitter api,放到/lib/twitter下,下载地址请往下阅读
$connection = new tmhOAuth(array(
'consumer_key...
分类:
其他好文 时间:
2014-07-04 07:59:39
阅读次数:
376