当前位置:文档之家› WEB设计大作业

WEB设计大作业

WEB程序设计大作业专业:09计算机1班姓名:学号:Xb09620125 一、设计目的实现一个简单的图书管理系统,并建立数据库。

二、实验工具Visual studio2010、sql2008。

三、设计思想表说明如下:页面信息如下:BookManager.aspx页面代码<html xmlns="/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title> 图书管理系统</title><link href="css/style.css" rel="stylesheet" type="text/css" /><link href="css/style.css" rel="stylesheet" type="text/css" /><script type="text/javascript"><!-- //--><![CDATA[//><!--function menuFix() {var sfEls = document.getElementById("nav").getElementsByTagName("li");for (var i = 0; i < sfEls.length; i++) {sfEls[i].onmouseover = function () {this.className += (this.className.length > 0 ? " " : "") + "sfhover";}sfEls[i].onMouseDown = function () {this.className += (this.className.length > 0 ? " " : "") + "sfhover";}sfEls[i].onMouseUp = function () {this.className += (this.className.length > 0 ? " " : "") + "sfhover";}sfEls[i].onmouseout = function () {this.className = this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");}}}window.onload = menuFix;//more javascript from //--><!]]></script></head><body id="body"><form method="post" action="BookManager.aspx" id="form1" enctype="multipart/form-data"> <div class="aspNetHidden"><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMTQ4NjYwODkxD2QWAmYPZBYCAgMPFgIeB2V uY3R5cGUFE211bHRpcG FydC9mb3JtL W RhdGFkZHfT6Rv7cgJi9864uEaUjBjoJtTsxqBTcb02ryOASsIy" /></div><div class="aspNetHidden"><input type="hidden" name="__EVENTV A LIDATION" id="__EVENTV A LIDATION" value="/wEW DAKQrYmPDA Lwnr2EA QLVteuV A QLzgIycCgL3uvOGAgLZ3MtzAqHt7rcFAv/11+IJ Aprf6ecMAt3+wLcLAqHtsrcFAqHt8rcFWIDsZe0aZEQP8jQATGPKRwyQdCM1LD9IsJEgB4mzg5k =" /></div><center><div><div id="header"><div id="header_nav"><ul><li><a href="BookSearch.aspx">图书查询</a></li><li><a href="BorrowBook.aspx">借书查询</a></li><li><a href="BorrowBook.aspx">借书</a></li><li><a href="ReturnBook.aspx">还书</a></li><li><a href="ReaderManager.aspx">读者管理</a></li><li><a href="BookManager.aspx">图书管理</a></li></ul></div></div><hr width="960px" /><div class="zp"><div class="tp"><table style="width:200px"><trstyle="background-color:Purple;height:30px;width:200px;font-weight:bold;color:white;font-size:18px "><td>功能选择</td></tr><tr style="height:30px;"><td><input type="submit" name="ctl00$ContentPlaceHolder1$btnBookAdd" value="书籍添加" id="ContentPlaceHolder1_btnBookAdd" /></td></tr><tr style="height:30px"><td><input type="submit" name="ctl00$ContentPlaceHolder1$btnBookDel" value="书籍删除" id="ContentPlaceHolder1_btnBookDel" /></td></tr><tr><td><input type="submit" name="ctl00$ContentPlaceHolder1$btnChange" value="信息修改" id="ContentPlaceHolder1_btnChange" /></td></tr><tr><td><input type="submit" name="ctl00$ContentPlaceHolder1$btnSearch" value="书籍查询" id="ContentPlaceHolder1_btnSearch" /></td></tr></table></div><div class="tpr"><table><trstyle="background-color:Purple;height:30px;width:200px;font-weight:bold;color:white;font-size:18px "><td colspan="5">书籍信息</td></tr><tr><td colspan="5"></td></tr><tr><td style="width:70px;">ISBN:</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$TxtISBN" type="text" id="ContentPlaceHolder1_TxtISBN" style="width:160px;" /></td><td style="width:80px"></td><td style="width:200px"></td><td style="width:145px"></td></tr><tr><td style="width:70px">书名:</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$TxtBN" type="text" id="ContentPlaceHolder1_TxtBN" style="width:160px;" /></td><td></td><td rowspan="6"><img id="ContentPlaceHolder1_ImageBP" src="" style="height:184px;width:175px;" /></td><td></td></tr><tr><td style="width:70px">作者:</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$TxtAth"type="text" id="ContentPlaceHolder1_TxtAth" style="width:160px;" /></td><td></td><td></td></tr><tr><td style="width:70px">出版社:</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$TxtPub" type="text" id="ContentPlaceHolder1_TxtPub" style="width:160px;" /></td><td></td><td></td></tr><tr><td style="width:70px">价格</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$Txtpr" type="text" id="ContentPlaceHolder1_Txtpr" style="width:160px;" /></td><td></td><td></td></tr><tr><td style="width:70px">总数量:</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$TxtSN" type="text" id="ContentPlaceHolder1_TxtSN" style="width:160px;" /></td><td></td><td></td></tr><tr><td style="width:70px">库存量:</td><td style="width:160px"><input name="ctl00$ContentPlaceHolder1$TxtCN" type="text" id="ContentPlaceHolder1_TxtCN" style="width:160px;" /></td><td></td><td></td></tr><tr><td style="width:70px">书封面:</td><td style="width:160px"><input type="file" name="ctl00$ContentPlaceHolder1$FileUpload1" id="ContentPlaceHolder1_FileUpload1" class="fileupload" /></td><td></td><td></td><td></td></tr><tr style="height:30px;"><td style="width:30px"></td><td></td><td></td><td></td><td></td></tr></table></div></div><hr width="960px" /><div id="bottom"><table width="950px" height="80px"><tr><td width="900px"><p>版权所有:祝丹丹<br />p邮编:030051<br />@2011-2020&nbsp&nbsp&nbspAll Right Reverse .</p></td></tr></table></div></div></center></form></body></html><html xmlns="/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title> 图书管理系统</title><link href="css/style.css" rel="stylesheet" type="text/css" /><script type="text/javascript"><!-- //--><![CDATA[//><!--function menuFix() {var sfEls = document.getElementById("nav").getElementsByTagName("li");for (var i = 0; i < sfEls.length; i++) {sfEls[i].onmouseover = function () {this.className += (this.className.length > 0 ? " " : "") + "sfhover";}sfEls[i].onMouseDown = function () {this.className += (this.className.length > 0 ? " " : "") + "sfhover";}sfEls[i].onMouseUp = function () {this.className += (this.className.length > 0 ? " " : "") + "sfhover";}sfEls[i].onmouseout = function () {this.className = this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");}}}window.onload = menuFix;//more javascript from //--><!]]></script></head><body id="body"><form method="post" action="ReaderManager.aspx" id="form1" enctype="multipart/form-data"> <div class="aspNetHidden"><input type="hidden" name="__EVENTTA RGET" id="__EVENTTA RGET" value="" /><input type="hidden" name="__EVENTA RGUMENT" id="__EVENTARGUMENT" value="" /><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJL TIyNzY5OTYwD2QWAmYPZBYCAgMPFgIeB2VuY3R5cGUFE211bHRpcGF ydC9mb3JtL WRhdGEWAgIBD2QWBA IfD2QWAmYPZBYCAgEPFgIeC18hSXRlbUNvdW50AgcW DmYPZBYCZg8VBwgwODExMDEgIAgwODExMDEgIArnjovmnpcgICAgA+eUtwoxOTkwL TAyL TEwD+iuoeeul+acuiAgICAgIAEyZAIBD2QWAmYPFQcIMDgxMTAyICAIMDgxMTAyICAK56iL5 piOICAgIAPnlLcKMTk5MS0wMi0wMQ/orqHnrpfmnLogICAgICA BMWQCAg9kFgJmDxUHCDA4 MTEwMyAgCDA4MTEwMyAgCueOi+eHlSAgICAD5aWzCjE5ODktMTAtMDYP6K6h566X5py6I CAgICAgATFkAgMPZBYCZg8VBwgwODExMDQgIAgwODExMDQgIAvpn6bkuKXlubMgIAPlpb MKMTk5MC0wOC0yNg/orqHnrpfmnLogICAgICABMGQCBA9kFgJmDxUHCDA4MTEwNiAgCD A4MTEwNiAgC+adjuaWueaWuSAgA+eUtwoxOTkwLTA1L TA xD+iuoeeul+acuiAgICAgIAEwZAIF D2QWAmYPFQcIMDgxMTA3ICAIMDgxMTA3ICA K5p2O5piOICAgIAPnlLcKMTk5MC0wNS0w MQ/orqHnrpfmnLogICAgICA BMGQCBg9kFgJmDxUHCDA4MTEwOCAgCDA4MTEwOCAgC+ae l+S4gOaitSAgA+eUtwoxOTg5L TA4LTExD+iuoeeul+acuiAgICAgIA EwZAIhDw8W BB4QQ3V ycmV udFBhZ2VJbmRleAIBHgtSZWNvcmRjb3VudAIWZGRktkcUtkHh8pjNId8Ezm7YlQCJ4THGqL0D3 ig7LgNcO9c=" /></div><script type="text/javascript">//<![CDATA[var theForm = document.forms['form1'];if (!theForm) {theForm = document.form1;}function __doPostBack(eventTarget, eventArgument) {if (!theForm.onsubmit || (theForm.onsubmit() != false)) {theForm.__EVENTTA RGET.value = eventTarget;theForm.__EVENTARGUMENT.value = eventArgument;theForm.submit();}}//]]></script><scriptsrc="/WebResource.axd?d=rIaqu-fonmUaQ8FQ64Vr0iTlLIIEKv4DSfYCup38JRf5Ybw7KjkGYy0mQ 4M00mhDZTQHWJ073uxvNBX7wL_9p4A-m4JCzFXCx2G3PL5dIis1&amp;t=63460840807515625 0" type="text/javascript"></script><scriptsrc="/ScriptResource.axd?d=sqm9p4Q4ebclOw4VFbkZMcNOfsZjrK8tVOwyTGj2Qwq5IJzZOmZ5q4 cFLR2VijuzmY exJwaLY euXXXLpOGcG238ojN1V oMyQB8tm6ED8iVO1WUPCiV7Qk22xOi_mlfkD hdR902TcifRuOn49BmE5O30F5dbLxjs3QGyF6ia0hytRqeGOp3n-PtX7klw7fVML0&amp;t=ffffffff94 0d030f" type="text/javascript"></script><script type="text/javascript">//<![CDATA[if (typeof(Sys) === 'undefined') throw new Error(' Ajax 客户端框架未能加载。

相关主题