資源簡介
功能齊全,自帶論文文檔,運行不復雜,可當課程設計,課程演示,畢業設計等。

代碼片段和文件信息
package?bean;
import?java.sql.*;
public?class?DBBean?{
String?driverName?=?“com.microsoft.sqlserver.jdbc.SQLServerDriver“;
String?dbURL?=?“jdbc:sqlserver://localhost:1433;DatabaseName=db_Park“;
String?userName?=?“sa“;
String?userPwd?=?“20142983“;
private?Connection?conn?=?null;
private?Statement?stmt?=?null;
public?DBBean()?{
try?{
Class.forName(driverName);
conn?=?DriverManager.getConnection(dbURL?userName?userPwd);
stmt?=?conn.createStatement();
System.out.println(“成功同數據庫建立連接!“);
}?catch?(Exception?ex)?{
System.out.println(“無法同數據庫建立連接!“);
}
}
public?int?executeUpdate(String?s)?{
int?result?=?0;
try?{
result?=?stmt.executeUpdate(s);
}?catch?(Exception?ex)?{
System.out.println(“執行更新錯誤!“);
}
return?result;
}
public?ResultSet?executeQuery(String?s)?{
ResultSet?rs?=?null;
try?{
rs?=?stmt.executeQuery(s);
}?catch?(Exception?ex)?{
System.out.println(“執行查詢錯誤!“);
}
return?rs;
}
public?void?close()?{
try?{
stmt.close();
conn.close();
}?catch?(Exception?e)?{
}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????714??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.classpath
?????文件???????1001??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.project
?????文件????????555??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.settings\.jsdtscope
?????文件????????357??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.settings\org.eclipse.jdt.core.prefs
?????文件????????456??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.settings\org.eclipse.wst.common.component
?????文件????????296??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件?????????49??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2017-09-21?20:58??停車場信息管理系統設計與實現\code\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件???????2123??2017-09-21?20:58??停車場信息管理系統設計與實現\code\build\classes\bean\DBBean.class
?????文件???????1129??2017-09-21?20:58??停車場信息管理系統設計與實現\code\src\bean\DBBean.java
?????文件????????456??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\admin_index.jsp
?????文件??????19473??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\css\bootstrap-social.css
?????文件??????18860??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\css\bootstrap-theme.min.css
?????文件?????109518??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\css\bootstrap.min.css
?????文件??????20766??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\css\font-awesome.min.css
?????文件???????8891??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\css\templatemo_st
?????文件??????72449??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\fonts\fontawesome-webfont.eot
?????文件?????253487??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\fonts\fontawesome-webfont.svg
?????文件?????141564??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\fonts\fontawesome-webfont.ttf
?????文件??????83760??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\fonts\fontawesome-webfont.woff
?????文件??????75188??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\fonts\FontAwesome.otf
?????文件??????31819??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\js\bootstrap.min.js
?????文件??????95786??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\js\jquery-1.11.1.min.js
?????文件???????1370??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\left.html
?????文件???????2508??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\Login.jsp
?????文件?????????36??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\me
?????文件???????4009??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\ParkAdminInfo\AddParkAdminInfo.jsp
?????文件???????1179??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\ParkAdminInfo\DelParkAdminInfo.jsp
?????文件???????3068??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\ParkAdminInfo\EditParkAdminInfo.jsp
?????文件???????2469??2017-09-21?20:58??停車場信息管理系統設計與實現\code\WebContent\ParkAdminInfo\parkadmininfo_index.jsp
............此處省略99個文件信息
評論
共有 條評論