简单学生管理系.docVIP

  • 4
  • 0
  • 约13.1万字
  • 约 12页
  • 2016-12-03 发布于河南
  • 举报
简单学生管理系

内容:开发一个简单的学生管理系统,完成学生信息的查看、增加、删除和修改等功能。 步骤: index.jsp(主页)源代码: html head title学生管理系统/title /head body background=images/indexbg.jpg centera href=add.jsp添加学生信息/a/centerp table align=center width=60% border=1 height=111 trth学号/thth姓名/thth性别/thth出生年月/thth地址/thth管理/th/tr % Class.forName(com.microsoft.sqlserver.jdbc.SQLServerDriver);/*我所连接的是SQL Server数据库,如果你使用其他数据库则自行修改引号内的内容*/ Connection con=DriverManager.getConnection(jdbc:sqlserver://localhost:1433(或1334);DatabaseName=要调用的数据库名称,数据库用户名,密码); Statement stmt=con.createStatement(); String s=select * from Stude

文档评论(0)

1亿VIP精品文档

相关文档