源码简介: |
//JDBC驱动器名称(JDBC-ODBC桥) private String strDBDriver = "sun.jdbc.odbc.JdbcOdbcDriver" //数据库的URL地址 private String strUrl = "jdbc:odbc:atm1" //指定要访问的数据库名称 private String strDBName = "atm1" //数据库用户名称 private String strUserName = "testUser" //数据库用户密码 private String strPassWord = "12345" //数据库连接对象,初始化为空 private Connection conTemp = null //连接的容器对象,初始化为空 private Statement stmtTemp = null //结果集对象,初始化为空 private ResultSet rsTemp = null //操作记录行数 private int intOperateNum-//JDBC driver name (JDBC-ODBC Bridge) private String strDBDriver =
|