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

正文內(nèi)容

倉庫管理信息系統(tǒng)設(shè)計課程(編輯修改稿)

2025-05-04 12:08 本頁面
 

【文章內(nèi)容簡介】 Thing (Id,name,xinghao,leibie,shuliang,jinhuoren,time) VALUES (39。{0}39。,39。{1}39。,39。{2}39。,39。{3}39。,39。{4}39。,39。{5}39。,39。{6}39。), bianhao, name, xinghao, leixing, shuliang, jinhuoren, time)。 SqlCommand mand1 = new SqlCommand(sql, connection)。int num = ()。 if (num 0){(物品添加成功!, 添加成功, , )。} else{(物品添加失敗!, 添加失敗, , )。}} else{(不存在此進貨人,請重新輸入!, 添加失敗, , )。 }} }} catch (Exception ex){(, 操作數(shù)據(jù)庫出錯!, , )。} finally{ ()。}}物品信息修改時可以在出庫界面上查詢關(guān)于這個物品的詳細信息,可以根據(jù)編號和名稱來查詢。物品信息修改得輸入全部物品信息,物品編號必須得存在,物品信息修改模塊部分代碼如下所示:private void button1_Click(object sender, EventArgs e){ if (() == || () == || () == || () == || () == ){ (請正確輸入物品的信息!, 提示)。} else{string bianhao = 。string name = 。string xinghao = 。string leixing = 。string shuliang = 。 string connString = @Data Source=pankangpc\SQLEXPRESS。Initial Catalog=Depot。Integrated Security = SSPI。Persist Security Info=False。 SqlConnection connection = new SqlConnection(connString)。string sql = (UPDATE Thing SET name=39。{0}39。,xinghao=39。{1}39。,leibie=39。{2}39。,shuliang=39。{3}39。where Id=39。{4}39。, name, xinghao, leixing, shuliang,bianhao)。try{ ()。 SqlCommand mand = new SqlCommand(sql, connection)。int count = ()。if (count 0){(物品信息修改成功!, 修改成功, , )。 = 。 = 。 = 。 = 。 = 。} else{ (物品信息修改失敗!, 修改失敗, , )。 } } catch (Exception ex){(, 操作數(shù)據(jù)庫出錯!, , )。 } finally{()。}} }物品出庫時可以在出庫界面上查詢關(guān)于這個物品的詳細信息,可以根據(jù)編號和名稱來查詢。出庫時只需填寫物品編號,收貨人編號,數(shù)量就可以了。物品出庫模塊部分代碼如下所示: private void button1_Click(object sender, EventArgs e) {string id = 。string id1 = 。int shuliang = ()。DateTime dt = 。string time1 = ()。 string connString = @Data Source=pankangpc\SQLEXPRESS。Initial Catalog=Depot。Integrated Security = SSPI。Persist Security Info=False。 SqlConnection connection = new SqlConnection(connString)。 string sql = (SELECT count(*) from Thing where Id=39。{0}39。, id )。 try{()。SqlCommand mand = new SqlCommand(sql, connection)。 int count = (int)()。 if (count 0){sql = (SELECT count(*) from Shouhuo where Id=39。{0}39。, id1)。 SqlCommand mand3 = new SqlCommand(sql, connection)。 int count3 = (int)()。 if (count3 0){ sql = (SELECT count(*) from Chuku where Id=39。{0}39。, id)。 SqlCommand mand9 = new SqlCommand(sql, connection)。 int count4 = (int)()。 if (count4 0){ sql = (UPDATE Chuku SET shouhuoren=39。{0}39。,shuliang=shuliang +39。{1}39。,time1=39。{2}39。 where id=39。{3}39。, id1, shuliang, time1, id)。 SqlCommand mand14 = new SqlCommand(sql, connection)。 int num11 = ()。 if (num11 0){ sql = (SELECT count(*) from Thing where shuliang 39。{0}39。=0 and id=39。{1}39。, shuliang, id)。SqlCommand mand11 = new SqlCommand(sql, connection)。 int num12 = (int)()。 if (num12 0){ sql = (UPDATE Thing SET shuliang=shuliang 39。{0}39。where id=39。{1}39。, shuliang, id)。SqlCommand mand17 = new SqlCommand(sql, connection)。 int num13 = ()。 if (num13 0){(物品出庫成功!, 出庫成功, , )。 = 。 = 。 = 。()。sql = (DELETE from Thing where shuliang=0)。SqlCommand mand18 = new SqlCommand(sql, connection)。int num16 = ()。}else{ (物品出庫失??!, 出庫失敗, , )。}} else{sql = (INSERT INTO Chuku select * from Thing where id=39。{0}39。, id)。SqlCommand mand2 = new SqlCommand(sql, connection)。int count1 = ()。if (count1 0){ sql = (UPDATE Chuku SET shouhuoren=39。{0}39。,shuliang=39。{1}39。,time1=39。{2}39。 where id=39。{3}39。, id1, shuliang, time1, id)。SqlCommand mand4 = new SqlCommand(sql, connection)。int num1 = ()。 catch (Exception ex) {(, 操作數(shù)據(jù)庫出錯!, , )。}finally{ ()。 } } 進貨人信息管理模塊實現(xiàn) 程序流程圖進入系統(tǒng)后,用戶在進貨人信息管理模塊中可以選擇添加進貨人信息功能。添加進貨人信息時需要填寫詳細的信息,包括編號,姓名,性別,電話,地址等信息。添加進貨人信息流程圖如圖55所示:添加成功NYNY輸入進貨人信息所有信息輸入真確添加進貨人信息已存在進貨人 圖55 添加進貨人信息流程圖修改進貨人信息時可以在修改界面上查詢關(guān)于這個進貨人的詳細信息,可以根據(jù)編號和名稱來查詢。修改時得輸入進貨人所有信息,編號得存在。進貨人信息修改流程圖如圖56所示:NY修改成功輸入查詢數(shù)據(jù)NY輸入進貨人信息所有信息輸入真確進貨人信息修改查詢進貨人詳細信息圖56 修改進貨人信息流程圖刪除進貨人信息時可以在刪除界面上查詢關(guān)于這個進貨人的詳細信息,可以根據(jù)編號和名稱來查詢。刪除進貨人信息時只需填寫進貨人編號就可以了。刪除進貨人信息流程圖如圖57所示:NY刪除成功輸入查詢數(shù)據(jù)NY所有信息輸入真確刪除進貨人信息輸入進貨人的編號查詢進貨人詳細信息圖57 刪除進貨人信息流程圖添加進貨人信息時需要填寫詳細的信息,包括編號,姓名,性別,電話,地址等信息。添加進貨人信息模塊部分代碼如下所示:private void button1_Click(object sender, EventArgs e){ if (() == || () == || () == || () == ){(請正確輸入進貨人的信息!, 提示)。} else {string bianhao = 。string name = 。string sex = ()。string phone = 。string address = 。 string connString = @Data Source=pankangpc\SQLEXPRESS。Initial Catalog=Depot。Integrated Security = SSPI。Persist Security Info=False。SqlConnection connection = new SqlConnection(connString)。 string sql = (SELECT count(*) from Jinhuo where Id=39。{0}39。, bianhao)。 try { ()。SqlCommand mand = new SqlCommand(sql, connection)。 int count = (int)()。if (count 0) { (進貨人編號重復(fù),請重新輸入!, 添加失敗, , )。 } else { sql = (INSERT INTO Jinhuo (Id,name,sex,phone,address) VALUES (39。{0}39。,39。{1}39。,39。{2}39。,39。{3}39。,39。{4}39。),bianhao ,name ,sex ,phone ,address )。SqlCommand mand1 = new SqlCommand(sql, connection)。 int num = ()。if (num 0) {(進貨人信息添加成功!, 添加成功, , )。 } else{ (進貨人信息添加失??!, 添加失敗, , )。 } } }catch (Exception ex) { (, 操作數(shù)據(jù)庫出錯!, , )
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1