【正文】
參 考 文 獻(xiàn)[1]朱如龍.SQL Server數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)開發(fā)技術(shù)[M].機(jī)械工業(yè)出版社.2004[2]童愛(ài)紅.Visual C.NET應(yīng)用教程[M].清華大學(xué)出版社.北京交通大學(xué)出版社.2004 [3]繆勇,李新峰, C學(xué)習(xí)筆記[M].北京:[4]梁冰,呂雙,王小科. C程序開發(fā)范例寶典[M].[5]薩師煊,[M].北京:[6](美)內(nèi)格爾等編著,李敏波 翻譯.《C#高級(jí)編程(第4版)》[M].清華大學(xué)出版社.2002[7]殷俊芳,薛紅,[J].北京工商大學(xué)學(xué)報(bào),2006(01):2730[8][J].(07):103105[9][J].(06):9699[10][J].,09(05):3638[11][J].:602603Warehouse Management Information Systems Design and Implementation YUAN PeilongAbstract: In the major supermarkets, shopping malls, within the enterprise are related to warehouse management, warehouse management information system to improve storage management efficiency, reduce labor, optimize the allocation of resources play an important role. This paper describes how to use the c language and SQL Server2005 database development a functional, easy to use warehouse management information system. The system includes warehousing of goods, a library, inventory and data warehouse of information such as backup and restore operations, to provide users with a friendly operating platform to achieve the modernization of information management warehouse.Keywords: SQL Server database, C , warehouse management。從分析到設(shè)計(jì)直到具體實(shí)現(xiàn),原來(lái)學(xué)的理論知識(shí)對(duì)我有很大的指導(dǎo),我也發(fā)現(xiàn)了其中有很多不足的地方。6 小結(jié)通過(guò)努力,該系統(tǒng)基本上完成了需求中的功能,實(shí)現(xiàn)了倉(cāng)庫(kù)管理信息系統(tǒng)的設(shè)計(jì)目標(biāo)。 = 。 ()。 string strCMD = USE MASTER RESTORE Store_Management FROM DISK=39。 ()。 (備份成功!, 提示!, , )。 ()。 try { SqlCommand cmd = new SqlCommand(strCMD ,strcon )。 string strCMD = BACKUP DATABASE Store_Management TO DISK=39。 } 系統(tǒng)維護(hù)的設(shè)計(jì)與實(shí)現(xiàn) 數(shù)據(jù)備份圖13 數(shù)據(jù)備份界面該界面主要完成系統(tǒng)數(shù)據(jù)的備份功能,主要代碼如下:SqlConnection strcon = new SqlConnection(Dbcon .con )。 = 。 ()。 SqlCommand cmd = new SqlCommand(sql, strcon)。 + () + 39。 + (()) + 39。 + + 39。 + () + 39。 + + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 ()。 } 盤點(diǎn)管理圖12 貨物盤點(diǎn)管理該界面主要實(shí)現(xiàn)貨物的查詢,貨物盤點(diǎn)后信息的保存,刪除等功能。 this .txtOutPrice .Text =Convert .ToString ( Convert .ToDouble ( dr[GoodsInPrice].ToString ())*)。 this .txtCgId .Text =dr[CgId].ToString ()。 .Text = dr[ProviderName].ToString()。 if (()) { .Text = dr[GoodsId].ToString()。 SqlCommand cmd = new SqlCommand(sql, strcon)。 string sql = select * from KcInfor where GoodsId=39。主要代碼如下://以下為輸入貨物編號(hào)進(jìn)行自動(dòng)查詢的代碼:SqlConnection strcon = new SqlConnection()。 ()。 SqlCommand cmd = new SqlCommand(sql, strcon)。 string sql = delete from StoreInInfor where GoodsId=39。}//以下為實(shí)現(xiàn)刪除歷史記錄的代碼:SqlConnection strcon = new SqlConnection()。 if (cmd .ExecuteNonQuery() ==1) { MessageBox .Show (入庫(kù)成功!)。)。,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。//將入庫(kù)商品信息加入到StoreInInfor中 string sql = insert into StoreInInfor(GoodsId,GoodsName,ProviderName,CkId,CgId,GoodsInNum,GoodsUnit,GoodsInPrice,AllPrice,GoodsInTime,GoodsInRemark) values(39。主要代碼如下://以下為實(shí)現(xiàn)貨物入庫(kù)信息記錄的代碼SqlConnection strcon = new SqlConnection()。 } else { MessageBox .Show (更新失敗,請(qǐng)查找