資源簡介
適合java課程設(shè)計的學(xué)生信息管理系統(tǒng)的設(shè)計,使用圖形化可視化界面
代碼片段和文件信息
package?com.tongxin.www.dao;
import?java.sql.*;
import?com.tongxin.www.model.*;
import?java.util.*;
import?com.tongxin.www.util.*;
public?class?StudentDao?{
DBUtil?dbUtil=new?DBUtil();
Connection?conn=dbUtil.getConn();
public?int?AddStudentMessage(AddStudent?addstudent){
int?flag=-1;
try{
String?sql=“insert?into?tb_student?values(null??????)“;
PreparedStatement?pstmt=conn.prepareStatement(sql);
pstmt.setString(1?addstudent.getStuNo());
pstmt.setString(2?addstudent.getStuName());
pstmt.setString(3?addstudent.getStuSex());
pstmt.setString(4?addstudent.getStuCardId());
pstmt.setString(5?addstudent.getStuPhoneNo());
pstmt.setString(6?addstudent.getStuAddress());
flag=pstmt.executeUpdate();
}catch(Exception?e){
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????308??2017-05-04?19:11??studentManager\.classpath
?????文件????????390??2017-05-04?19:11??studentManager\.project
?????文件?????119811??2017-10-30?14:05??studentManager\.Thumbs\back.jpg.png
?????文件?????119346??2017-10-30?14:05??studentManager\.Thumbs\back1.jpg.png
?????文件?????130507??2017-10-30?14:05??studentManager\.Thumbs\background.jpg.png
?????文件????????360??2016-06-28?15:44??studentManager\.Thumbs\ThumbGenerateVersion-V1.5.tgv
?????文件??????75699??2017-10-30?14:05??studentManager\.Thumbs\登錄.jpeg.png
?????文件?????367007??2017-05-04?19:11??studentManager\back.jpg
?????文件?????378802??2017-05-04?19:11??studentManager\back1.jpg
?????文件??????65925??2017-05-04?19:11??studentManager\background.jpg
?????文件???????5665??2018-01-31?20:56??studentManager\bin\com\tongxin\www\dao\StudentDao.class
?????文件???????2240??2018-01-31?20:56??studentManager\bin\com\tongxin\www\dao\UserDao.class
?????文件???????2524??2018-01-31?20:56??studentManager\bin\com\tongxin\www\model\AddStudent.class
?????文件???????1256??2018-01-31?20:56??studentManager\bin\com\tongxin\www\model\User.class
?????文件???????1549??2018-01-31?20:56??studentManager\bin\com\tongxin\www\util\DBUtil.class
?????文件????????639??2018-01-31?20:56??studentManager\bin\com\tongxin\www\util\StringUtil.class
?????文件????????924??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Addstudentif
?????文件???????2764??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Addstudentif
?????文件???????1123??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Addstudentif
?????文件???????4490??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Addstudentif
?????文件???????1207??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Loginfr
?????文件???????2756??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Loginfr
?????文件???????4410??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Loginfr
?????文件????????955??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Mainfr
?????文件???????1106??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Mainfr
?????文件????????916??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Mainfr
?????文件???????1135??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Mainfr
?????文件????????984??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Mainfr
?????文件???????3457??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\Mainfr
?????文件???????2910??2018-01-31?20:56??studentManager\bin\com\tongxin\www\view\ModifyPassif
............此處省略55個文件信息
評論
共有 條評論