书签 分享 收藏 举报 版权申诉 / 22

类型图书馆管理系统WEB课程设计.docx

  • 文档编号:14492436
  • 上传时间:2023-06-23
  • 格式:DOCX
  • 页数:22
  • 大小:598.39KB

250px">

LabelID="Labelname"runat="server"Text="用户名">

Label>

TextBoxID="TextBoxname"runat="server">

TextBox>

LabelID="Labelpassword"runat="server"Text="密码">

Label>

TextBoxID="TextBoxpassword"runat="server">

TextBox>

ButtonID="Buttonok"runat="server"onclick="Buttonok_Click"Text="确定"/>

   

ButtonID="Buttonback"runat="server"Height="26px"

onclick="Buttonback_Click"Text="返回"/>

3.managerinsert.aspx.cs管理员插入图书后台控制代码:

usingSystem;

usingSystem.Collections;

usingSystem.Configuration;

usingSystem.Data;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.Security;

usingSystem.Web.UI;

usingSystem.Web.UI.HtmlControls;

usingSystem.Web.UI.WebControls;

usingSystem.Web.UI.WebControls.WebParts;

usingSystem.Xml.Linq;

usingSystem.Data.SqlClient;

publicpartialclassmanagerinsert:

System.Web.UI.Page

{

protectedvoidPage_Load(objectsender,EventArgse)

{

this.Title="添加新记录";

}

protectedvoidButtonback_Click(objectsender,EventArgse)

{

Response.Redirect("manage.aspx");

}

protectedvoidButtonsubmit_Click(objectsender,EventArgse)

{

if(Texttype.Text==""&&TextBoxbianhao.Text==""&&TextBoxname.Text=="")

{

Response.Write("alert('必须输入书的类别、编号、书名');");

return;

}

SqlConnectionconn=newSqlConnection();

conn.ConnectionString=ConfigurationManager.ConnectionStrings["connstring"].ToString();

stringval="'"+Texttype.Text+"','"+TextBoxbianhao.Text+"','"+TextBo

配套讲稿:

如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

特殊限制:

部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

关 键  词:
图书馆 管理 系统 WEB 课程设计
提示  冰点文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:图书馆管理系统WEB课程设计.docx
链接地址:https://www.bingdoc.com/p-14492436.html
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2


收起
展开