没有合适的资源?快使用搜索试试~ 我知道了~
图书馆管理系统参考.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 121 浏览量
2021-12-16
09:26:51
上传
评论
收藏 43KB PDF 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/64491067/0001-a61f9bfbd03cf9561ca4a96943353749_thumbnail.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
15页
图书馆管理系统参考.pdf
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![exe](https://img-home.csdnimg.cn/images/20210720083343.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/release/download_crawler_static/64491067/bg1.jpg)
目录
1、绪论 .............................................................
2、数据库设计 .......................................................
2.1 数据库分析 .....................................................
2.1 创建数据库 .................................................... 4
3、界面设计 ........................................................ 4
3.1 登陆界面 ...................................................... 4
3.2 图书管理系统界面 .............................................. 8
3.3 图书信息界面 .................................................. 9
3.4 图书归还界面 ................................................. 11
3.5 图书借阅界面 ................................................. 13
3.6 用户信息界面 ................................................. 15
3.7 管理员界面 ................................................... 16
3.8 注册界面 ..................................................... 18
3.9 添加图书界面 ................................................. 19
4、系统测试 ....................................................... 21
4.1 登陆功能 ................................................... 21
4.2 借阅图书功能 ............................................... 22
4.3 归还图书库功能 ............................................. 22
4.4 图书信息功能 ............................................... 23
4.5 管理员登陆功能 ............................................. 23
4.6 添加图书功能 .............................................. 24
4.7 用户信息 ................................................... 24
5 、连接数据库 .................................................... 24
5.1 连接数据库 . ................................................. 25
5.2 操作数据库中的数据 . ......................................... 25
6 、总结 .......................................................... 27
1、绪论
2、数据库设计
2.1 数据库分析
本系统利用 Visual Studio 2010 处理数据库的功能,实现对图书馆信息的管理。主要功能为管理
有关用户、管理员、书籍和借阅的信息等。
![](https://csdnimg.cn/release/download_crawler_static/64491067/bg2.jpg)
本系统的结构分为用户信息管理模块、 书籍信息管理模块、 借阅信息管理模块、 管理者管理信
息模块和查询处理模块。
图书馆管理系统框图如图所示
失败
成功
2.2 创建数据库
3、界面设计
3.1 登陆界面
amespace 图书管理系统
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public static Form fm = null ;
private static int ErrorTimes = 0;
private void button3_Click( object sender, EventArgs e)
{
this .Close();
}
private void textBox1_TextChanged( object sender, EventArgs e)
{
}
private void button1_Click( object sender, EventArgs e)
{
if (textBox1.Text == "" || textBox2.Text == "" )
{ MessageBox.Show( " 提示:请输入用户名和密码! " , " 警告 " ); }
SqlConnection conn = new SqlConnection ();
conn.Open();
SqlCommandcmd = new SqlCommand( "select * from Table_1 where id='""' and us='""'" ,
进入图书馆管理系统
管理员 用户
登录
图书管理
查询图书
增加图书
查询图书
借阅图书
![](https://csdnimg.cn/release/download_crawler_static/64491067/bg3.jpg)
conn);
SqlDataReader sdr = cmd.ExecuteReader();
sdr.Read();
if (sdr.HasRows)
{
MessageBox.Show( " 登录成功 !" , " 提示 " );
Form2 fm = new Form2();
fm.Show();
this .Hide();
}
else
{
ErrorTimes++;
MessageBox.Show( " 用户名或密码不正确!您还有 " + (3 - ErrorTimes) + " 次输入
密码的机会,请重新输入 ! 如果超过 3次,系统将自动关闭 " );
if (ErrorTimes >= 3)
{
ErrorTimes = 0;
conn.Close();
}
}
}
private void Form1_Load( object sender, EventArgs e)
{
}
private void button4_Click( object sender, EventArgs e)
{
if (textBox1.Text == "" || textBox2.Text == "" )
{ MessageBox.Show( " 提示:请输入用户名和密码! " , " 警告 " ); }
SqlConnection conn = new SqlConnection ();
conn.Open();
SqlCommand cmd = new SqlCommand( "select * from Table_2 where uid='""' and
usr='""'" , conn);
SqlDataReader sdr = cmd.ExecuteReader();
sdr.Read();
if (sdr.HasRows)
剩余14页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
cwp36199360
- 粉丝: 1
- 资源: 11万+
![benefits](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-1.c8e153b4.png)
下载权益
![privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-2.ec46750a.png)
C知道特权
![article](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-3.fc5e5fb6.png)
VIP文章
![course-privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-4.320a6894.png)
课程特权
![rights](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-icon.fe0226a8.png)
开通VIP
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)