版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 成 績(jī)11信計(jì)2013-2014(一)數(shù)據(jù)庫(kù)原理及應(yīng)用課程設(shè)計(jì)設(shè)計(jì)題目 倉(cāng)儲(chǔ)物資管理系統(tǒng) 設(shè)計(jì)時(shí)間 2013.12.31-2014.1.4 學(xué)生姓名 張政偉 學(xué)生學(xué)號(hào) 20110402124 所在班級(jí) 11精算 指導(dǎo)教師 董曉瑋 徐州工程學(xué)院數(shù)學(xué)與物理科學(xué)學(xué)院目 錄1 可行性研究32 需求分析32.1 任務(wù)概述32.1.1 目標(biāo)32.1.2 運(yùn)行環(huán)境32.2 數(shù)據(jù)需求32.2.1 數(shù)據(jù)流條目32.2.2 數(shù)據(jù)庫(kù)描述42.3 功能需求42.3.1 功能劃分42.3.2 功能描述43 概要設(shè)計(jì)44 邏輯設(shè)計(jì)55 界面設(shè)計(jì)和代碼75.1登陸界面設(shè)計(jì)75.2注冊(cè)界面與代碼95.3修改密碼105.4系
2、統(tǒng)主界面設(shè)計(jì)和代碼115.5查詢信息管理界面設(shè)計(jì)135.6添加信息查詢界面設(shè)計(jì)145.7出入庫(kù)信息表設(shè)計(jì)185.8刪改信息設(shè)計(jì)246總結(jié)25參考文獻(xiàn)251 可行性研究倉(cāng)庫(kù)管理系統(tǒng)是為了實(shí)現(xiàn)企業(yè)產(chǎn)品管理的系統(tǒng)化、規(guī)范化和自動(dòng)化,從而提高企業(yè)管理效率而設(shè)計(jì)的。它完全取代了原來一直用人工管理的工作方式,避免了由于管理人員的工作疏忽以及管理質(zhì)量問題所造成的各種錯(cuò)誤,為及時(shí)、準(zhǔn)確、高效的完成倉(cāng)庫(kù)管理提供了強(qiáng)有力的工具和管理手段。倉(cāng)庫(kù)管理系統(tǒng)是一個(gè)中小型數(shù)據(jù)庫(kù)管理系統(tǒng),它界面美觀、操作簡(jiǎn)單、安全性高,基本滿足了倉(cāng)庫(kù)管理的要求。本系統(tǒng)的開發(fā)語言采用的是C#,開發(fā)環(huán)境采用的是Visual studio 200
3、8,數(shù)據(jù)庫(kù)采用SQL Server 2005,具有一般系統(tǒng)的數(shù)據(jù)功能,如數(shù)據(jù)查詢,修改和刪除等。倉(cāng)庫(kù)管理系統(tǒng)在運(yùn)行階段,效果好,數(shù)據(jù)準(zhǔn)確性高,提高了工作效率,同時(shí)也實(shí)現(xiàn)了倉(cāng)庫(kù)管理計(jì)算機(jī)化。2 需求分析 2.1 任務(wù)概述經(jīng)過調(diào)查,對(duì)倉(cāng)庫(kù)管理的業(yè)務(wù)流程進(jìn)行分析。庫(kù)存的變化通常是通過入庫(kù)、出庫(kù)操作來進(jìn)行。系統(tǒng)對(duì)每個(gè)入庫(kù)操作均要求用戶填寫入庫(kù)單,對(duì)每個(gè)出庫(kù)操作均要求用戶填寫出庫(kù)單。在出入庫(kù)操作同時(shí)可以進(jìn)行增加、刪除和修改等操作。用戶可以隨時(shí)進(jìn)行各種查詢、統(tǒng)計(jì)、報(bào)表打印、賬目核對(duì)等工作。另外,也可以用圖表形式來反映查詢結(jié)果。2.1.1 目標(biāo) (1)界面設(shè)計(jì)要求盡量友好、美觀,應(yīng)提供登錄界面,并考慮用戶權(quán)
4、限問題;(2)對(duì)各種信息應(yīng)提供錄入、修改、刪除和查詢功能;(3)具有對(duì)商品的基本信息和流動(dòng)信息進(jìn)行統(tǒng)計(jì)的功能;(4)具有數(shù)據(jù)備份與恢復(fù)、幫助等功能;(5)能夠新增、修改和刪除用戶信息;2.1.2 運(yùn)行環(huán)境 Windows 98/2000/XP/2003操作系統(tǒng)下,安裝并配置軟件Microsoft SQL Server 2000數(shù)據(jù)庫(kù)管理系統(tǒng)。 2.2 數(shù)據(jù)需求 2.2.1 數(shù)據(jù)流條目 根據(jù)我們的進(jìn)行的調(diào)查和分析,系統(tǒng)中各種功能所需的數(shù)據(jù)項(xiàng)和數(shù)據(jù)結(jié)構(gòu)如下:商品信息:商品編號(hào),商品名,商品單價(jià);職工信息:職工號(hào),職工姓名,性別,電話,住址;供貨商信息:供應(yīng)商姓名,地址,電話,單位等;入庫(kù)信息:入庫(kù)
5、編號(hào),商品編號(hào),商品名稱,單價(jià),數(shù)量,總價(jià),供應(yīng)商;出庫(kù)信息:出庫(kù)編號(hào),商品編號(hào),商品名稱,單價(jià),數(shù)量,總價(jià),經(jīng)手人;2.2.2 數(shù)據(jù)庫(kù)描述 使用SQL SERVER2000作為后臺(tái)數(shù)據(jù)庫(kù),就可以行使基于網(wǎng)絡(luò)連接的用戶認(rèn)證。從而給不同的子系統(tǒng)分配不同的數(shù)據(jù)庫(kù)使用角色,讓他們彼此之間使用的數(shù)據(jù)庫(kù)隔離開來,以達(dá)到較高的安全性。2.3 功能需求根據(jù)對(duì)各大超市進(jìn)行的調(diào)查和分析,倉(cāng)庫(kù)管理系統(tǒng)應(yīng)該具有以下功能:倉(cāng)庫(kù)中的貨物信息的錄入、修改、刪除和查詢。倉(cāng)庫(kù)的信息的的錄入、修改、刪除、查詢和統(tǒng)計(jì)。管理者的信息的錄入、修改、刪除和查詢。供貨商的信息的錄入、修改、刪除、查詢和統(tǒng)計(jì)。貨物流動(dòng)信息的錄入、修改、刪除
6、和查詢。2.3.1 功能劃分 倉(cāng)庫(kù)管理系統(tǒng)主要實(shí)現(xiàn)以下四方面的功能:A. 登陸b. 注冊(cè)c. 查詢d. 修改2.3.2 功能描述 倉(cāng)庫(kù)管理包括登陸、注冊(cè)、查詢、修改四方面功能。登陸,分為普通管理員登陸和超級(jí)管理員登陸。查詢,分為員工查詢,倉(cāng)庫(kù)查詢和物品查詢。修改,主要實(shí)現(xiàn)添加,修改和刪除。3 概要設(shè)計(jì) 對(duì)系統(tǒng)功能分析中的各項(xiàng)功能進(jìn)行集中、分塊,按照結(jié)構(gòu)化程序設(shè)計(jì)的要求,得到如下圖所示的系統(tǒng)功能模塊圖。員工查詢倉(cāng)庫(kù)查詢商品查詢注冊(cè)倉(cāng)庫(kù)管理系統(tǒng)登錄普通管理員超級(jí)管理員查詢修改添加修改刪除4 邏輯設(shè)計(jì)根據(jù)數(shù)據(jù)庫(kù)需求分析,本系統(tǒng)的數(shù)據(jù)庫(kù)邏輯結(jié)構(gòu)設(shè)計(jì)如下。商品信息設(shè)計(jì)入庫(kù)單信息設(shè)計(jì)3 出庫(kù)單信息設(shè)計(jì)職工
7、信息設(shè)計(jì)倉(cāng)庫(kù)信息設(shè)計(jì)供貨商信息表5 界面設(shè)計(jì)和代碼5.1登陸界面設(shè)計(jì) public partial class Fmlogin : Form public Fmlogin() InitializeComponent(); private void BUT_Y_Click(object sender, EventArgs e) string username = tbuser.Text; string password = tbpw.Text; string connstring = "Data Source=.zhaojuan-PCSQLEXPRESS;AttachDbFilenam
8、e=F:倉(cāng)庫(kù)管理系統(tǒng)倉(cāng)庫(kù)管理系統(tǒng)WMS_DB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" SqlConnection conn = new SqlConnection(connstring);/獲取用戶名和密碼匹配的行的數(shù)量的sql語句 string sql = string.Format("select count(*) from usertable where username='0'and password='1'", username
9、, password); try if (comboBox1.Text = "超級(jí)管理員"&&tbuser.Text="admin") conn.Open(); SqlCommand comm = new SqlCommand(sql, conn); int num = (int)comm.ExecuteScalar(); if (num > 0) this.Hide(); Fmmenu f1 = new Fmmenu(); f1.ShowDialog(); else MessageBox.Show("用戶名或密碼或身份錯(cuò)
10、誤,請(qǐng)重新輸入!","登錄失敗", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); else if (comboBox1.Text ="普通管理員") conn.Open(); SqlCommand comm = new SqlCommand(sql, conn); int num = (int)comm.ExecuteScalar(); if (num > 0) this.Hide(); Fmmenu f1 = new Fmmenu(); f1.刪改信息ToolStripMenuIt
11、em.Enabled = false; f1.ShowDialog(); else MessageBox.Show("用戶名或密碼或身份錯(cuò)誤,請(qǐng)重新輸入!","登錄失敗", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); else MessageBox.Show("用戶名或密碼或身份錯(cuò)誤,請(qǐng)重新輸入!","登錄失敗", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); catch (Exception eee)
12、 MessageBox.Show(eee.Message, "數(shù)據(jù)庫(kù)操作錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); finally conn.Close(); private void BUT_z_Click(object sender, EventArgs e) Fmregister f2 = new Fmregister(); f2.ShowDialog(); 5.2注冊(cè)界面與代碼 private void button1_Click(object sender, EventArgs e) if (t
13、bpw.Text = tB2_repw.Text) string connstring = "Data Source=.zhaojuan-PCSQLEXPRESS;AttachDbFilename=F:倉(cāng)庫(kù)管理系統(tǒng)倉(cāng)庫(kù)管理系統(tǒng)WMS_DB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" SqlConnection conn = new SqlConnection(connstring); ; try conn.Open();SqlCommand comm = new SqlCommand
14、("register", conn); comm.CommandType = CommandType.StoredProcedure;comm.Parameters.AddWithValue("username", tbuser.Text.Trim();comm.Parameters.AddWithValue("password", tbpw.Text.Trim(); comm.Parameters.AddWithValue("workerID", tB_worker.Text.Trim(); int count
15、= comm.ExecuteNonQuery();/執(zhí)行命令,返回的行數(shù) if (count > 0) MessageBox.Show("注冊(cè)成功!可以登錄!", "成功", MessageBoxButtons.OK, MessageBoxIcon.Information); else MessageBox.Show("注冊(cè)失?。?quot;,"錯(cuò)誤!",MessageBoxButtons.OK,MessageBoxIcon.Information); catch(Exception ) MessageBox.Show
16、("操作數(shù)據(jù)失?。】赡苡脩裘貜?fù)或您不是本公司職員!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); finally conn.Close(); else MessageBox.Show("注冊(cè)失敗!重復(fù)密碼錯(cuò)誤!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); private void but_return_Click(object sender, EventArgs e
17、) this.Close();5.3修改密碼private void but_Y_Click(object sender, EventArgs e) if (tBsure.Text = tBNpass.Text) string connstring = "Data Source=zhaojuan-PCSQLEXPRESS;AttachDbFilename=D:倉(cāng)庫(kù)管理系統(tǒng)倉(cāng)庫(kù)管理系統(tǒng)WMS_DB.mdf;Integrated Security=True" SqlConnection conn = new SqlConnection(connstring); try conn
18、.Open(); SqlCommand comm = new SqlCommand("updatepass", conn);comm.CommandType=CommandType.StoredProcedure;comm.Parameters.AddWithValue("username", tBuser.Text);comm.Parameters.AddWithValue("password", tBpass.Text); comm.Parameters.AddWithValue("newpass", tBNp
19、ass.Text); int count = comm.ExecuteNonQuery(); if (count > 0) MessageBox.Show("修改密碼成功"); tBuser.Text = "" tBpass.Text = "" tBNpass.Text = ""tBsure.Text = "" tBuser.Focus(); else MessageBox.Show("數(shù)據(jù)庫(kù)操作失敗", "修改密碼失敗", MessageBoxBu
20、ttons.OK, MessageBoxIcon.Exclamation); catch MessageBox.Show("操作數(shù)據(jù)失敗!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); finally conn.Close(); else MessageBox.Show("確認(rèn)密碼與新密碼不符", "修改密碼失敗", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); tBuser.Text
21、= "" tBpass.Text = "" tBNpass.Text = "" tBsure.Text = "" tBuser.Focus(); private void button1_Click(object sender, EventArgs e) this.Close();5.4系統(tǒng)主界面設(shè)計(jì)和代碼 public partial class Fmmenu : Form public Fmmenu() InitializeComponent(); private void 職員ToolStripMenuIte
22、m_Click(object sender, EventArgs e) putinto_w w = new putinto_w(); w.ShowDialog(); private void 查詢所有ToolStripMenuItem_Click(object sender, EventArgs e) allinformation s = new allinformation(); s.ShowDialog(); private void 按倉(cāng)庫(kù)ToolStripMenuItem_Click(object sender, EventArgs e) BY_WHID bw = new BY_WHI
23、D(); bw.ShowDialog(); private void 供貨商ToolStripMenuItem_Click(object sender, EventArgs e) putinto_sup su = new putinto_sup(); su.ShowDialog(); private void 倉(cāng)庫(kù)信息ToolStripMenuItem_Click(object sender, EventArgs e) putinto_WH wh = new putinto_WH(); wh.ShowDialog(); private void 商品信息ToolStripMenuItem_Cl
24、ick(object sender, EventArgs e) putin_G g = new putin_G();g.ShowDialog(); private void 入庫(kù)ToolStripMenuItem_Click(object sender, EventArgs e) putin pi = new putin(); pi.ShowDialog(); private void 出庫(kù)ToolStripMenuItem_Click(object sender, EventArgs e) putout po = new putout(); po.ShowDialog(); private
25、void 刪改信息ToolStripMenuItem_Click(object sender, EventArgs e) updataANDdelete ud = new updataANDdelete(); ud.ShowDialog(); private void 提醒ToolStripMenuItem_Click(object sender, EventArgs e) remind re = new remind(); re.ShowDialog(); private void 修改密碼ToolStripMenuItem_Click(object sender, EventArgs e)
26、 updatapass up = new updatapass(); up.ShowDialog(); private void 關(guān)于ToolStripMenuItem_Click(object sender, EventArgs e) About ab = new About(); ab.ShowDialog(); private void 按供貨商ToolStripMenuItem_Click(object sender, EventArgs e) BY_SUP bs = new BY_SUP(); bs.ShowDialog(); 5.5查詢信息管理界面設(shè)計(jì) public partial
27、 class allinformation : Form public allinformation() InitializeComponent(); private void allinformation_Load(object sender, EventArgs e) this.view_putoutTableAdapter.Fill(this.wMS_DBDataSet4.View_putout); this.view_putinTableAdapter.Fill(this.wMS_DBDataSet3.view_putin); this.supplierTableAdapter.Fil
28、l(this.wMS_DBDataSet2.Supplier); this.workerTableAdapter.Fill(this.wMS_DBDataSet1.Worker); this.gOODSTableAdapter.Fill(this.wMS_DBDataSet.GOODS);private void fillByToolStripButton_Click(object sender, EventArgs e) try this.gOODSTableAdapter.FillBy(this.wMS_DBDataSet.GOODS); catch (System.Exception e
29、x) System.Windows.Forms.MessageBox.Show(ex.Message); try this.workerTableAdapter.FillBy1(this.wMS_DBDataSet1.Worker); catch (System.Exception ex) System.Windows.Forms.MessageBox.Show(ex.Message); try this.view_putoutTableAdapter.FillBy(this.wMS_DBDataSet4.View_putout); catch (System.Exception ex) Sy
30、stem.Windows.Forms.MessageBox.Show(ex.Message); try this.supplierTableAdapter.FillBy(this.wMS_DBDataSet2.Supplier); catch (System.Exception ex) System.Windows.Forms.MessageBox.Show(ex.Message); try this.view_putinTableAdapter.FillBy(this.wMS_DBDataSet3.view_putin); catch (System.Exception ex) System
31、.Windows.Forms.MessageBox.Show(ex.Message); 5.6添加信息查詢界面設(shè)計(jì)根據(jù)上圖可知添加信息分為三類,人員信心,倉(cāng)庫(kù)信息,和商品信息,此外,人員信息分為職工類和供貨商類,因添加界面和代碼,格式大抵相同,所以只展示部分界面,進(jìn)入添加設(shè)計(jì)如下:1.添加商品信息 public partial class putin_G : Form public putin_G() InitializeComponent(); private void but_Y_Click(object sender, EventArgs e) string connstring = &
32、quot;Data Source=.zhaojuan-PCSQLEXPRESS;AttachDbFilename=F:倉(cāng)庫(kù)管理系統(tǒng)倉(cāng)庫(kù)管理系統(tǒng)WMS_DB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" SqlConnection conn = new SqlConnection(connstring); try conn.Open(); SqlCommand comm = new SqlCommand("insertgoods", conn); comm.CommandTyp
33、e = CommandType.StoredProcedure; comm.Parameters.AddWithValue("goods_ID", tB1_G_ID.Text.Trim(); comm.Parameters.AddWithValue("goods_name", tB2_G_name.Text.Trim(); comm.Parameters.AddWithValue("goods_price", tB3_G_price.Text.Trim(); comm.Parameters.AddWithValue("min
34、num", tB5_G_minnum.Text.Trim(); int count = comm.ExecuteNonQuery();/執(zhí)行命令,返回的行數(shù) if (count > 0) MessageBox.Show("添加成功!", "成功", MessageBoxButtons.OK, MessageBoxIcon.Information); else MessageBox.Show("添加失敗!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.In
35、formation); catch (Exception) MessageBox.Show("操作數(shù)據(jù)失?。】赡苌唐芬汛嬖?!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); finally conn.Close(); private void button1_Click(object sender, EventArgs e) this.Close(); 2錄入倉(cāng)庫(kù)信息public partial class putinto_WH : Form public putinto_WH()
36、InitializeComponent(); private void but_Y_Click(object sender, EventArgs e)string connstring = "Data Source=.zhaojuan-PCSQLEXPRESS;AttachDbFilename=F:倉(cāng)庫(kù)管理系統(tǒng)倉(cāng)庫(kù)管理系統(tǒng)WMS_DB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"SqlConnection conn = new SqlConnection(connstring); tr
37、y conn.Open(); SqlCommand comm = new SqlCommand("insertWH", conn); comm.CommandType = CommandType.StoredProcedure; comm.Parameters.AddWithValue("WH_ID", tB1_WH_ID.Text.Trim(); comm.Parameters.AddWithValue("WHname", tB2_WHname.Text.Trim(); comm.Parameters.AddWithValue(&q
38、uot;workerID", tB3_workerID.Text.Trim(); comm.Parameters.AddWithValue("WHphone", tB4_WHphone.Text.Trim(); comm.Parameters.AddWithValue("address", tB5_address.Text.Trim(); int count = comm.ExecuteNonQuery();/執(zhí)行命令,返回的行數(shù) if (count > 0) MessageBox.Show("添加成功!", &quo
39、t;成功", MessageBoxButtons.OK, MessageBoxIcon.Information); else MessageBox.Show("添加失??!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); catch (Exception) MessageBox.Show("操作數(shù)據(jù)失??!可能倉(cāng)庫(kù)已存在!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information)
40、; finally conn.Close(); private void button1_Click(object sender, EventArgs e) this.Close(); 3錄入職員信息(代碼只展示不同部分 Try conn.Open(); SqlCommand comm = new SqlCommand("insertworker", conn); comm.CommandType=CommandType.StoredProcedure comm.Parameters.AddWithValue("workerID",tB1_ID.Text
41、.Trim();comm.Parameters.AddWithValue("workerName",tB2_name.Text.Trim();comm.Parameters.AddWithValue("Sex", tB3_sex.Text.Trim();comm.Parameters.AddWithValue("phone", tB4_phone.Text.Trim();comm.Parameters.AddWithValue("workerPost",tB5_POST.Text.Trim();int count
42、= comm.ExecuteNonQuery();/執(zhí)行命令,返回的行數(shù)5.7出入庫(kù)信息表設(shè)計(jì)1出庫(kù)表界面設(shè)計(jì) public partial class putout : Form public putout() InitializeComponent(); private void button1_Click(object sender, EventArgs e) this.Close(); private void but_Y_Click(object sender, EventArgs e) string show_str1 = string.Empty; string show_str
43、2 = string.Empty; string dt1 = dateTimePicker1.Value.ToString(); string dt2=dateTimePicker2.Value.Date.ToString(); string connstring = "Data Source=.zhaojuan-PCSQLEXPRESS;AttachDbFilename=F:倉(cāng)庫(kù)管理系統(tǒng)倉(cāng)庫(kù)管理系統(tǒng)WMS_DB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" SqlConnection
44、 conn = new SqlConnection(connstring); try conn.Open(); SqlCommand comm = new SqlCommand("SPputout", conn); comm.CommandType = CommandType.StoredProcedure;/聲明,引號(hào)中的內(nèi)容是存儲(chǔ)過程名 comm.Parameters.AddWithValue("putoutID", tB_puID.Text.Trim(); comm.Parameters.AddWithValue("goodsID&quo
45、t;, tB_GID.Text.Trim(); string sql = string.Format("select Goods_name,Goods_price from GOODS where Goods_ID='0'", tB_GID.Text.Trim(); SqlCommand comm1 = new SqlCommand(sql, conn); SqlDataReader sdr = comm1.ExecuteReader(); while (sdr.Read() show_str1 = string.Format("0",
46、sdr0.ToString(); show_str2 = string.Format("0", sdr1.ToString(); sdr.Close();/關(guān)閉SQLdatareader sdr.Dispose(); this.tB_Gname.Text = show_str1; this.tB_Gprice.Text = show_str2;/將查詢結(jié)果顯示在文本框 comm.Parameters.AddWithValue("num", float.Parse(tB_Gnum.Text.Trim(); comm.Parameters.AddWithVa
47、lue("JSR", tB_JSR.Text.Trim(); comm.Parameters.AddWithValue("checker", tB_check.Text.Trim(); comm.Parameters.AddWithValue("time", dt1); tB_value.Text = (float.Parse(tB_Gnum.Text) * float.Parse(tB_Gprice.Text).ToString(); comm.Parameters.AddWithValue("totalvalue&quo
48、t;, tB_value.Text); comm.Parameters.AddWithValue("WH_ID", tB_WH.Text.Trim(); comm.Parameters.AddWithValue("producetime", dt2); int count = comm.ExecuteNonQuery();/執(zhí)行命令,返回的行數(shù) if (count > 0) MessageBox.Show("出庫(kù)成功!", "成功", MessageBoxButtons.OK, MessageBoxIcon.
49、Information); else MessageBox.Show("出庫(kù)失敗!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); catch MessageBox.Show("操作數(shù)據(jù)失敗!可能填寫錯(cuò)誤!", "錯(cuò)誤!", MessageBoxButtons.OK, MessageBoxIcon.Information); finally conn.Close(); 2入庫(kù)表界面設(shè)計(jì)(代碼展示不同部分) private void but_Y_Click(object sender, EventArgs e) string show_str1 = string.Empty; string show_str2 = string.Empty; string dt1 = dateTimeNow.Value.Date.ToString(); DateTime dt2 = dateTimeGpro.Value.Date; DateTime dt3 = dateTimeGqgp.Value.Date; TimeSpan dt4 = dt3 - dt2; st
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 初級(jí)會(huì)計(jì)實(shí)務(wù)-《初級(jí)會(huì)計(jì)實(shí)務(wù)》??荚嚲?54
- 基于干擾噪聲協(xié)方差矩陣重構(gòu)的穩(wěn)健波束形成算法研究
- 安全防范與電信詐騙應(yīng)對(duì)
- 現(xiàn)代農(nóng)業(yè)產(chǎn)業(yè)園發(fā)展與建設(shè)綜合方案
- 科創(chuàng)孵化器項(xiàng)目商業(yè)計(jì)劃書
- 光伏組件回收產(chǎn)業(yè)未來機(jī)遇與發(fā)展報(bào)告
- 文化傳媒行業(yè)編導(dǎo)培訓(xùn)總結(jié)
- 2025版高端石材工程采購(gòu)及售后服務(wù)合同協(xié)議3篇
- 二零二五年度個(gè)人汽車維修貸款合同范本4篇
- 二零二五年度公益廣告宣傳海報(bào)設(shè)計(jì)與制作合同3篇
- 藝術(shù)哲學(xué):美是如何誕生的學(xué)習(xí)通超星期末考試答案章節(jié)答案2024年
- 北京海淀區(qū)2025屆高三下第一次模擬語文試題含解析
- 量子醫(yī)學(xué)治療學(xué)行業(yè)投資機(jī)會(huì)分析與策略研究報(bào)告
- 碳纖維增強(qiáng)復(fù)合材料在海洋工程中的應(yīng)用情況
- 公司市場(chǎng)分析管理制度
- 焊接材料制造工-國(guó)家職業(yè)標(biāo)準(zhǔn)(2024版)
- 江西省2024年中考數(shù)學(xué)試卷(含答案)
- JJG 705-2014液相色譜儀行業(yè)標(biāo)準(zhǔn)
- 多重耐藥菌病人的管理-(1)課件
- 地雷基本知識(shí)課件
- (高清版)TDT 1056-2019 縣級(jí)國(guó)土資源調(diào)查生產(chǎn)成本定額
評(píng)論
0/150
提交評(píng)論