资源简介
基于.net平台的小型图书馆管理系统 Access数据库 实现添加 删除 查询 密码修改 账号申请 图书借阅查询

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
using System.Data.Common;
namespace 小型图书馆管理系统
{
public partial class BookLend : Form
{
public BookLend()
{
InitializeComponent();
}
private void BookLend_Load(object sender EventArgs e)
{
// TODO: 这行代码将数据加载到表“libraryDataSet.BookLended”中。您可以根据需要移动或移除它。
this.bookLendedTableAdapter.Fill(this.libraryDataSet.BookLended);
}
private void txtBookId_TextChanged(object sender EventArgs e)
{
//string strConn = @“Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\yetao\Desktop\小型图书馆管理系统\小型图书馆管理系统\Library.mdb;“;
OleDbConnection conn = null;
conn = ole.CreatConn();
if (txtBookId.Text != ““)
{
OleDbCommand cmd = new OleDbCommand(“select * from BookInfo where BookId=‘“ + txtBookId.Text + “‘“ conn);
conn.Open();
OleDbDataReader dr1 = cmd.ExecuteReader();
while (dr1.Read())
{
labelISBN.Text = dr1[1].ToString();
labelBookName.Text = dr1[2].ToString();
labelAuthor.Text = dr1[3].ToString();
labelPublisher.Text = dr1[4].ToString();
labelPrice.Text = dr1[5].ToString() + “元“;
labelBookType.Text = dr1[6].ToString();
labelBuyDate.Text = dr1[7].ToString();
labelState.Text = dr1[8].ToString();
}
dr1.Close();
conn.Close();
}
else
{
labelISBN.Text = “ISBN“;
labelBookName.Text = “BookName“;
labelAuthor.Text = “Author“;
labelPublisher.Text = “Publisher“;
labelPrice.Text = “Price“;
labelBookType.Text = “BookType“;
labelBuyDate.Text = “BuyDate“;
labelState.Text = “State“;
}
}
private void textBox2_TextChanged(object sender EventArgs e)
{
string strConn = @“Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\yetao\Desktop\小型图书馆管理系统\小型图书馆管理系统\Library.mdb;“;
OleDbConnection conn = null;
string StrTemp =““;
StrTemp=“ReaderId=‘“ + textBox2.Text + “‘“;
conn = new OleDbConnection(strConn);
if (textBox2.Text != ““)
{
OleDbCommand cmd = new OleDbCommand(“select * from ReaderInfo where ReaderId=‘“ + textBox2.Text + “‘“ conn);
conn.Open();
OleDbDataReader dr1 = cmd.ExecuteReader();
while (dr1.Read())
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 94 2010-06-13 16:51 小型图书馆管理系统\readme.txt
文件 447 2010-03-30 21:28 小型图书馆管理系统\小型图书馆管理系统\app.config
文件 856064 2010-05-31 18:53 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\Library.mdb
文件 1613824 2010-06-03 20:26 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\小型图书馆管理系统.exe
文件 447 2010-03-30 21:28 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\小型图书馆管理系统.exe.config
文件 433664 2010-06-03 20:26 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\小型图书馆管理系统.pdb
文件 14328 2010-06-13 16:49 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\小型图书馆管理系统.vshost.exe
文件 447 2010-03-30 21:28 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\小型图书馆管理系统.vshost.exe.config
文件 490 2009-06-11 05:14 小型图书馆管理系统\小型图书馆管理系统\bin\Debug\小型图书馆管理系统.vshost.exe.manifest
文件 6619 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\BookLend.cs
文件 27442 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\BookLend.Designer.cs
文件 6439 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\BookLend.resx
文件 4345 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\BookReturn.cs
文件 16621 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\BookReturn.Designer.cs
文件 56835 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\BookReturn.resx
文件 1 2010-04-24 23:22 小型图书馆管理系统\小型图书馆管理系统\ClassDiagram1.cd
文件 2942 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmAdd.cs
文件 28460 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmAdd.Designer.cs
文件 6435 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmAdd.resx
文件 3644 2010-05-19 22:48 小型图书馆管理系统\小型图书馆管理系统\Frmain.cs
文件 18997 2010-05-19 22:48 小型图书馆管理系统\小型图书馆管理系统\Frmain.Designer.cs
文件 939263 2010-05-19 22:48 小型图书馆管理系统\小型图书馆管理系统\Frmain.resx
文件 2023 2010-05-31 18:56 小型图书馆管理系统\小型图书馆管理系统\FrmDelete.cs
文件 6516 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmDelete.Designer.cs
文件 6435 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmDelete.resx
文件 2570 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmLogin.cs
文件 8676 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmLogin.Designer.cs
文件 1172835 2010-05-19 22:47 小型图书馆管理系统\小型图书馆管理系统\FrmLogin.resx
文件 2719 2010-05-31 19:01 小型图书馆管理系统\小型图书馆管理系统\FrmSerch.cs
文件 14320 2010-05-31 19:01 小型图书馆管理系统\小型图书馆管理系统\FrmSerch.Designer.cs
............此处省略60个文件信息
- 上一篇:cb-9X-C#winform实现PDF阅读功能.rar
- 下一篇:C#等高线追踪
相关资源
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
评论
共有 条评论