文件名称:testdb
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- lvc***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
我分别写了对ACCESS数据库和MYSQL数据库的两个例子,分别在test accesst和test mysql两个文件夹下面。
如果是access数据库的那个就请在数据源里面新建一个名称为test的数据库,并在其中建立一个表,表名为admin,路径为我给你的第一个文件夹路径
此文件夹下面的chaxun.jsp是用来查询数据库数据的,xiugai.jsp是用来添加数据库数据的,至于修改的话,自己看懂了的话就可以自由发挥了
如果是mysql数据库的那个就请在mysql里面新建一个名称为test的数据库,用下面的命令创建表,表名为admin:
creat table admin (
username varchar(10) primary key,
password varchar(16)
)
然后自行在其中添加若干数据,以便测试用。
此文件夹下面的chaxun.jsp是用来查询数据库数据的,xiugai.jsp是用来添加数据库数据的,至于修改的话,自己看懂了的话就可以自由发挥了
数据库和表名不要搞混了!-I write separately to the ACCESS database and the MYSQL database, two examples, respectively, and test mysql in the test accesst the following two folders.
If it is, please access the database that the data source inside the new name for a test database, and in which the establishment of a table, the table is named admin, I ll give you the path to a folder path first
Following chaxun.jsp this folder is used to query the database the data, xiugai.jsp is used to add a database of data, as amended, then read the words themselves can be freely played a
If it is that mysql database mysql on the inside in the new name for a test database, use the following command to create the table, the table is named admin:
creat table admin (
username varchar (10) primary key,
password varchar (16)
)
And then add on their own in which a number of data for testing.
Following chaxun.jsp this folder is used to query the database the data, xiugai.jsp is used to add a database of da
如果是access数据库的那个就请在数据源里面新建一个名称为test的数据库,并在其中建立一个表,表名为admin,路径为我给你的第一个文件夹路径
此文件夹下面的chaxun.jsp是用来查询数据库数据的,xiugai.jsp是用来添加数据库数据的,至于修改的话,自己看懂了的话就可以自由发挥了
如果是mysql数据库的那个就请在mysql里面新建一个名称为test的数据库,用下面的命令创建表,表名为admin:
creat table admin (
username varchar(10) primary key,
password varchar(16)
)
然后自行在其中添加若干数据,以便测试用。
此文件夹下面的chaxun.jsp是用来查询数据库数据的,xiugai.jsp是用来添加数据库数据的,至于修改的话,自己看懂了的话就可以自由发挥了
数据库和表名不要搞混了!-I write separately to the ACCESS database and the MYSQL database, two examples, respectively, and test mysql in the test accesst the following two folders.
If it is, please access the database that the data source inside the new name for a test database, and in which the establishment of a table, the table is named admin, I ll give you the path to a folder path first
Following chaxun.jsp this folder is used to query the database the data, xiugai.jsp is used to add a database of data, as amended, then read the words themselves can be freely played a
If it is that mysql database mysql on the inside in the new name for a test database, use the following command to create the table, the table is named admin:
creat table admin (
username varchar (10) primary key,
password varchar (16)
)
And then add on their own in which a number of data for testing.
Following chaxun.jsp this folder is used to query the database the data, xiugai.jsp is used to add a database of da
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test mysql\xiugai.jsp
..........\chaxun.jsp
..........\do_xiugai.jsp
相关说明.txt
test access\db\test.mdb
...........\xiugai.jsp
...........\chaxun.jsp
...........\do_xiugai.jsp
...........\db
test mysql
test access
..........\chaxun.jsp
..........\do_xiugai.jsp
相关说明.txt
test access\db\test.mdb
...........\xiugai.jsp
...........\chaxun.jsp
...........\do_xiugai.jsp
...........\db
test mysql
test access