freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于c和access的圖書管理系統(tǒng)設(shè)計與實現(xiàn)_本科-資料下載頁

2025-05-06 00:58本頁面

【導(dǎo)讀】本設(shè)計是一個圖書信息管理系統(tǒng)的后臺數(shù)據(jù)庫的設(shè)計。和精力的限制本設(shè)計僅實現(xiàn)了圖書管理系統(tǒng)基本功能的設(shè)計與實現(xiàn)。分析和設(shè)計的過程和方法的目的。在實踐中掌握了知識,達到了學(xué)以。種信息的輸出和輸入,符合用戶的基本需求。4.5讀者子系統(tǒng)界面:.................錯誤!在現(xiàn)今信息化發(fā)達的社會,圖書的發(fā)行量與日俱增。作量大并及其繁瑣,效率變得低下。因此需要對書籍資源、讀者資源、管理員還可以對各種圖書進行分析統(tǒng)計,對過時、損壞的圖書進行刪除,預(yù)約圖書供應(yīng)商訂購更新的圖書。本提高工作效率的目標。第一章為緒論部分,介紹課題的基本情況。分析,主要為數(shù)據(jù)流圖和數(shù)據(jù)字典。建立讀者個人信息檔案,并根據(jù)學(xué)號查詢當(dāng)前讀者當(dāng)前的借書情況

  

【正文】 (new OleDbParameter(@bookname, ))。 ()。 ()。 } } 第 52 頁 共 40 頁 private void button3_Click(object sender, EventArgs e) { ()。 } } } 3,修改圖書狀態(tài): using System。 using 。 using 。 using 。 第 53 頁 共 40 頁 using 。 using 。 using 。 using 。 using 。 namespace BookStore { public partial class frmUpdateBook : Form { public frmUpdateBook() { InitializeComponent()。 con = new OleDbConnection()。//建立數(shù)據(jù)庫連接 = Provider=。Data Source=。 string str = select * from Books。 ()。 cmd = new OleDbCommand(str, con)。 sdr = new OleDbDataAdapter(cmd)。 第 54 頁 共 40 頁 ds = new DataSet()。 } OleDbConnection con。 OleDbCommand cmd。 OleDbDataAdapter sdr。 DataSet ds。 private void frmUpdateBook_Load(object sender, EventArgs e) { (計算機 )。 (歷史 )。 (小說 )。 (體育 )。 ()。 = 。 = 。 = 。 (ds, Books)。 BindingSource bs = new BindingSource()。 //綁定數(shù)第 55 頁 共 40 頁 據(jù)源 = [Books]。 //為綁定數(shù)據(jù)源賦值 = bs。//和控件綁定 (Text, [Books], BookId)。 (Text, [Books], Bookname)。 (Text, [Books], BookPrice)。 (Text, [Books], BookQuantity)。 ()。 } private void button2_Click(object sender, EventArgs e) { ()。 string book_id = 。 string book_name = 。 string book_price = 。 第 56 頁 共 40 頁 string book_quantity = 。 string book_categoryID = 。 = update Books set Bookname=@name,BookPrice=@price,BookQuantity=@quantity,CategoryID=@cate where BookId=@bookid。 OleDbParameter[] par = new OleDbParameter[5]。 for (int i = 0。 i 5。 i++) { par[i] = new OleDbParameter()。 } par[0].ParameterName = @name。 par[0].Value = book_name。 par[1].ParameterName = @price。 par[1].Value = book_price。 par[2].ParameterName = @quantity。 par[2].Value = book_quantity。 par[3].ParameterName = @cate。 par[3].Value = book_categoryID。 par[4].ParameterName = @bookid。 par[4].Value = (book_id)。 for (int j = 0。 j 5。 j++) 第 57 頁 共 40 頁 { (par[j])。 } int n = ()。 if (n == 1) { (圖書狀態(tài)修改成功! )。 } else { (修改失敗錯誤! )。 } } } } 4,刪除舊書: 第 58 頁 共 40 頁 using System。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 namespace BookStore { 第 59 頁 共 40 頁 public partial class frmDeBook : Form { public frmDeBook() { InitializeComponent()。 } string str = Provider=。Data Source=。 OleDbCommand cmd。 OleDbDataAdapter sdr。 DataSet ds。 private void frmUpdateManager_Load(object sender, EventArgs e) { OleDbConnection con = new OleDbConnection()。//建立數(shù)據(jù)庫連接 = Provider=。Data Source=。 string str = select * from Books。 ()。 cmd = new OleDbCommand(str, con)。 第 60 頁 共 40 頁 sdr = new OleDbDataAdapter(cmd)。 ds = new DataSet()。 (ds, Books)。 = [Books]。 } private void button1_Click(object sender, EventArgs e) { OleDbConnection con = new OleDbConnection(str)。 ()。 OleDbCommand m = new OleDbCommand(delete * from Books where BookId=@bookid, con)。 (new OleDbParameter(@bookid, ))。 int n = ()。 if (n == 1) { (刪除成功! )。 frmBookupdata()。 } else if ( == ) 第 61 頁 共 40 頁 { (編號不能為空! )。 } else { (不存在你要刪除的書! )。 } ()。 } private void frmBookupdata() { ds = null。 ds = new DataSet()。//這點很重要! (ds, Books)。 BindingSource bs = new BindingSource()。 //綁定數(shù)據(jù)源 = [Books]。 //為綁定數(shù)據(jù)源賦值 = bs。//和控件綁定 ()。 } 第 62 頁 共 40 頁 } } 4 .4 學(xué)生管理 子系統(tǒng)界面 : 1,注冊學(xué)生: 第 63 頁 共 40 頁 using System。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 namespace BookStore { public partial class frmStudent : Form { OleDbConnection con。 OleDbDataAdapter da。 DataSet ds。 public frmStudent() { InitializeComponent()。 con = new OleDbConnection()。//建立數(shù)據(jù)庫連接 第 64 頁 共 40 頁 = Provider=。Data Source=。 da = new OleDbDataAdapter(select * from Students, con)。 ds = new DataSet(Students)。 } private void frmStudent_Load(object sender, EventArgs e) { (ds, Students)。 BindingSource bs = new BindingSource()。 //綁定數(shù)據(jù)源 = [Students]。 //為綁定數(shù)據(jù)源賦值 = bs。//和控件綁定
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1