资源简介

适合java课程设计的学生信息管理系统的设计,使用图形化可视化界面

资源截图

代码片段和文件信息

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\Addstudentiframe$1.class

     文件       2764  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Addstudentiframe$2.class

     文件       1123  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Addstudentiframe$3.class

     文件       4490  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Addstudentiframe.class

     文件       1207  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Loginframe$CancelAction.class

     文件       2756  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Loginframe$LoginAction.class

     文件       4410  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Loginframe.class

     文件        955  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Mainframe$1.class

     文件       1106  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Mainframe$Addstudent.class

     文件        916  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Mainframe$ExitSystemAction.class

     文件       1135  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Mainframe$modifyPassAction.class

     文件        984  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Mainframe$StudentWH.class

     文件       3457  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\Mainframe.class

     文件       2910  2018-01-31 20:56  studentManager\bin\com\tongxin\www\view\ModifyPassiframe$ModifyPassAction.class

............此处省略55个文件信息

评论

共有 条评论