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

正文內(nèi)容

小型汽車銷售管理及系統(tǒng)設(shè)計管理知識分析(參考版)

2025-07-01 18:19本頁面
  

【正文】 } SqlCo。 jg = select * from XiaoShouBill where 汽車名稱=39。 } else { if ( != ) { cx = select sum(銷售單價*數(shù)量)as 總金額,sum(數(shù)量)as 總數(shù)量 from XiaoShouBill where 汽車名稱=39。//定義一個保存SQL語句的字符串cx(查詢) string jg = 。最后輸出相應(yīng)數(shù)據(jù)出來。 } ()。 Date()。 if (RowCount 0) { (修改成功!)。 ()。, (), (), (), (()), (), (), (), ())。where 入庫單號=39。,備注=39。,供應(yīng)商名稱=39。,數(shù)量={3},保修期=39。,汽車名稱=39。,倉庫名稱=39。//關(guān)閉數(shù)據(jù)源 //修改語句 string sql = (update KuCunBill set 入庫單號=39。 } ()。 } else { (倉庫中還有該汽車,修改失?。?。 Date()。 = true。 int RowCount = ()。 ()。, ())。 //如果修改成功了,就把當前的記錄刪除 string sql3 = (delete from KuCunBill where 入庫單號=39。, sum, ().Trim(), ())。and 倉庫名稱=39。 string sql2 = (update KuCunBill set 數(shù)量={0} where 汽車名稱=39。//關(guān)閉數(shù)據(jù)源 //如果記錄中存在有相同名稱的汽車,那么就在它的的數(shù)量上進行相應(yīng)的增加 int r = ()。 if (()) { int s = (reader1[數(shù)量].ToString())。 ()。 + () + 39。 + + 39。 } else { ()。 = true。 = false。 if (()) { (倉庫中已經(jīng)有該入倉庫號!請您重新命名。 ()。 + () + 39。 ()。 } } }庫存修改界面:在該頁面中主要update密令來實現(xiàn)修改功能。 DateDaoRu()。 if (RowCount 0) { (刪除成功!)。 ()。 if (res == ) { string sql = (delete from XiaoShouBill where 銷售單號={0}, (()))。 } } } }確認刪除部分代碼: private void butdeleq_Click(object sender, EventArgs e) { = true。 } else { (退貨成功,但在倉庫中沒有相關(guān)的車輛信息!)。 ()。 int RowCount1 = ()。 SqlCommand cmd = new SqlCommand(sql, )。{7}39。{6}39。{5}39。{2}39。{1}39。 } } else { ()。 Date()。 if (RowCount1 0) { (退貨成功!)。 ()。), (()), (), (), (()), (()), (), (), ())。,39。,39。,{3},{4},39。,39。//關(guān)閉數(shù)據(jù)源 //下面是將下面的數(shù)據(jù)添加到數(shù)據(jù)庫中 //向數(shù)據(jù)庫中添加語句 string sql = (insert into TuiHuBill(銷售單號,汽車名稱,倉庫名稱,銷售單價,數(shù)量,日期,經(jīng)手人,備注) values({0},39。 int RowCount = ()。 SqlCommand cmd2 = new SqlCommand(sql2, )。{2}39。{1}39。//現(xiàn)在要增加的數(shù)量 int sum = s + r。//獲取數(shù)據(jù)庫原來的數(shù)量 ()。 SqlDataReader reader1 = ()。 SqlCommand cmd1 = new SqlCommand(sql1, )。and 倉庫名稱=39。 if (res == ) { //首先要查詢一下在倉庫表中有沒有相同名稱和相同倉庫的汽車,如果有就只改變它的數(shù)量,如果沒有就添加一條新的記錄 string sql1 = select * from KuCunBill where 汽車名稱=39。//操作人 = true。刪除功能應(yīng)用到了delete命令。 } } ()。 Date()。 if (RowCount1 0) { (銷售添加成功,但在倉庫中沒有相關(guān)的車輛信息!)。 ()。,{6}), (), (), (()), (()), (), (), ())。,39。,{2},{3},39。,39。 //下面是將下面的數(shù)據(jù)添加到數(shù)據(jù)庫中 //向數(shù)據(jù)庫中添加語句 string sql = (insert into XiaoShouBill(汽車名稱,倉庫名稱,銷售單價,數(shù)量,日期,經(jīng)手人,備注) values(39。 } else { (銷售添加失敗!)。 ()。 int RowCount1 = ()。 SqlCommand cmd = new SqlCommand(sql, )。{6}39。{5}39。{4}39。{1}39。{0}39。 ()。 ()。, sum, ().Trim(), ())。and 倉庫名稱=39。 string sql2 = (update KuCunBill set 數(shù)量={0} where 汽車名稱=39。//關(guān)閉數(shù)據(jù)源 //如果記錄中存在有相同名稱的汽車,那么就在它的的數(shù)量上進行相應(yīng)的減少 int r = ()。 if (()) { int s = (reader1[數(shù)量].ToString())。 ()。 + () + 39。 + + 39。 if (res == ) { ()。 } } }銷售信息添加界面:在該頁面中主要是添加銷售單,它的功能主要是首先要查詢一下在倉庫表中有沒有相同名稱和相同倉庫的汽車,如果有就只改變它的數(shù)量,如果沒有就添加一條新的記錄,這樣方便在統(tǒng)計匯總的時候方便計算。 = true。 = true。 = true。 = true。 = true。 = true。//倉庫刪除 = true。//倉庫添加 = true。//倉庫匯總 = true。//金額匯總 = true。//庫存管理 = true。 } if (() == 倉庫管理員) { = true。 = false。//銷售管理 = true。 = true。//退貨管理 = true。 = true。//金額匯總 = true。 } if (() == 銷售管理員) { = true。 = true。 = true。 = true。//職工信息顯示
點擊復制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1