小型銀行管理係統的部分代碼介紹(doc 15頁)
- 所屬分類:
- 信息技術
- 文件大小:
- 263 KB
- 下載地址:
- 相關資料:
- 銀行管理係統
小型銀行管理係統的部分代碼介紹(doc 15頁)內容簡介
小型銀行管理係統的部分代碼介紹內容提要:
登陸
package dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.sql.*;
public class login{
private String sName;
private String sPass;
private String sState;
//數據庫連接設置
protected static String dbClassName = "com.mysql.jdbc.Driver";
protected static String dbUrl = "jdbc:mysql://localhost:3306/bank";
protected static String dbUser = "root";
protected static String dbPwd = "root";
private static Connection conn = null;
public String getsName() {
return sName;
}
public void setsName(String sName) {
this.sName = sName;
}
public String getsPass() {
return sPass;
}
public void setsSPass(String sPass) {
this.sPass = sPass;
}
public String getsState() {
return sState;
..............................
登陸
package dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.sql.*;
public class login{
private String sName;
private String sPass;
private String sState;
//數據庫連接設置
protected static String dbClassName = "com.mysql.jdbc.Driver";
protected static String dbUrl = "jdbc:mysql://localhost:3306/bank";
protected static String dbUser = "root";
protected static String dbPwd = "root";
private static Connection conn = null;
public String getsName() {
return sName;
}
public void setsName(String sName) {
this.sName = sName;
}
public String getsPass() {
return sPass;
}
public void setsSPass(String sPass) {
this.sPass = sPass;
}
public String getsState() {
return sState;
..............................
用戶登陸
信息技術熱門資料
信息技術相關下載