图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx

上传人:b****2 文档编号:14970967 上传时间:2022-10-26 格式:DOCX 页数:28 大小:174.81KB
下载 相关 举报
图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx_第1页
第1页 / 共28页
图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx_第2页
第2页 / 共28页
图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx_第3页
第3页 / 共28页
图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx_第4页
第4页 / 共28页
图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx_第5页
第5页 / 共28页
点击查看更多>>
下载资源
资源描述

图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx

《图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx(28页珍藏版)》请在冰豆网上搜索。

图书馆服务系统设计论文数据库系统概论课程设计报告大学论文Word格式文档下载.docx

三、库文件结构设计

a)概念模型设计

1)读者信息

2)书籍信息

3)管理员信息

4)栏目信息

5)读者与书籍之间的关系(借阅读关系E-R图)

6)管理员与书籍之间的关系(管理员_书籍E-R图)

7)管理员与学生之间的关系(管理员_学生E-R图)

b)逻辑设计——从理论“E/R模型”到理论“关系模型”的整理转换,通过E/R模型到关系模型的转化,可以得到如下关系模式:

借阅关系

属性:

工作号,读者学号,ISBN,是否续借,借书日期,还书日期,备注

主键:

工作号,读者学号,ISBN,管理员_书籍关系

工作号,ISBN,添加时间,是否在馆

工作号

b)数据库表的设计

表4.1图书栏目表

列名

数据类型

长度

允许空

typeid

int

8

no

type

ntext

50

yes

Typename

next

Typetime

time

7

表4.2图书内容表

bookid

bname

zzbook

content

100

about

title

review

dateandtime

10

tjbook

path

表4.3管理员信息表

Id

username

password

表4.4会员信息表

userid

四、用户接口设计及主要功能实现

1)主页面端口:

default.asp

<

html>

<

bodybgcolor=#CBC8C8>

br>

p>

dl>

<

dd>

divalign=centerstyle="

font-size:

xx-large"

>

fontcolor

="

crimson"

WUST图书馆服务系统<

/P>

/font>

/div>

/dd>

/dl>

tablealign=centerborder=0width=630>

tr>

<

tdwidth=20%align=center>

ahref="

login.htm"

[会员登录]

/a>

/td>

managerlogin.htm"

[管理员登录]<

searchbook.htm"

[检索图书]<

help.htm"

[帮助信息]

leavemessage.htm"

[请你留言]<

/tr>

/table>

/body>

/html>

2)会员登录模块:

login.htm和login.asp

head>

title>

/title>

/head>

bodybgcolor=#CBCC8C8>

palign=center>

fontsize=5>

图书馆服务——会员登陆<

/p>

hr>

formaction=login.aspmethod=post>

tableborder=0width=500cellpadding=0>

tdwidth=40%align=rightheight=40>

账号:

tdwidth=50%>

inputname=name

style="

height:

22px;

width:

167px"

密码:

inputtype=passwordname=password

tdwidth=30%align=left>

&

nbsp;

inputid=submit1name=submit1

type=submitvalue=确定>

inputid=reset1name=reset1type=resetvalue=重填>

/form>

formaction=changepassword.aspmethod=post>

changepassword.htm"

[修改密码]

/center>

center>

palign=centerstyle="

fontsize=2>

图书馆欢迎您<

南四205版权所有

%@language=vbscript%>

%response.buffer=true%>

%setconn=server.createobject("

adodb.connection"

conn.open"

DRIVER={MicrosoftSQLDriver

(*.mdb)};

DBQ="

Server.MapPath("

BBS.MDB"

)%>

%setrstemp=server.createobject("

addb.recordset"

dimstrname,strpassword,sql

strname=request.form("

Name"

strpassword=request.form("

password"

sql="

select*fromuserwhereusername='

"

strname&

"

'

rstemp.opensql,conn,1,3

ifstrname="

then

response.write"

账号不能为空<

%>

ahref=javascipt:

history.back()>

上一页<

%response.end

endif

ifstrpassword="

response.write"

密码不能为空<

ahref=javascript:

%response.end

endif

ifrstemp.RecordCount=1then

ifrstemp("

userpassword"

)=strpasswordthen

session("

name"

)=strname

response.redirect"

user.htm"

else

账号错误请重新输入<

rstemp.close

setrstemp=nothing

3)会员密码修改端口:

changepassword.htm和changepassword.asp

!

--#includefile=conn.asp-->

%ifsession("

)="

then

response.write"

请你首先登录,才能留言"

response.end

%dimstroldpassword,strnewpassword,strconfirmpassword

dimstrwhere,strsql,strdsn,strchangesql

stroldpassword=request.form("

oldpassword"

strnewpassword=request.form("

newpassword"

strconfirmpassword=request.form("

confirmpassword"

ifstroldpassword="

orstrnewpassword="

请输入密码"

endif

ifstrnewpassword<

strconfirmpasswordthen

两次密码不相同"

strwhere="

whereusername='

&

session("

)&

anduserpassw

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 人文社科

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1