【正文】
參 考 文 獻[1]朱如龍.SQL Server數據庫應用系統(tǒng)開發(fā)技術[M].機械工業(yè)出版社.2004[2]童愛紅.Visual C.NET應用教程[M].清華大學出版社.北京交通大學出版社.2004 [3]繆勇,李新峰, C學習筆記[M].北京:[4]梁冰,呂雙,王小科. C程序開發(fā)范例寶典[M].[5]薩師煊,[M].北京:[6](美)內格爾等編著,李敏波 翻譯.《C#高級編程(第4版)》[M].清華大學出版社.2002[7]殷俊芳,薛紅,[J].北京工商大學學報,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。從分析到設計直到具體實現,原來學的理論知識對我有很大的指導,我也發(fā)現了其中有很多不足的地方。6 小結通過努力,該系統(tǒng)基本上完成了需求中的功能,實現了倉庫管理信息系統(tǒng)的設計目標。 = 。 ()。 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)維護的設計與實現 數據備份圖13 數據備份界面該界面主要完成系統(tǒng)數據的備份功能,主要代碼如下:SqlConnection strcon = new SqlConnection(Dbcon .con )。 = 。 ()。 SqlCommand cmd = new SqlCommand(sql, strcon)。 + () + 39。 + (()) + 39。 + + 39。 + () + 39。 + + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 ()。 } 盤點管理圖12 貨物盤點管理該界面主要實現貨物的查詢,貨物盤點后信息的保存,刪除等功能。 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。主要代碼如下://以下為輸入貨物編號進行自動查詢的代碼:SqlConnection strcon = new SqlConnection()。 ()。 SqlCommand cmd = new SqlCommand(sql, strcon)。 string sql = delete from StoreInInfor where GoodsId=39。}//以下為實現刪除歷史記錄的代碼:SqlConnection strcon = new SqlConnection()。 if (cmd .ExecuteNonQuery() ==1) { MessageBox .Show (入庫成功!)。)。,39。,39。,39。,39。,39。,39。,39。,39。,39。,39。//將入庫商品信息加入到StoreInInfor中 string sql = insert into StoreInInfor(GoodsId,GoodsName,ProviderName,CkId,CgId,GoodsInNum,GoodsUnit,GoodsInPrice,AllPrice,GoodsInTime,GoodsInRemark) values(39。主要代碼如下://以下為實現貨物入庫信息記錄的代碼SqlConnection strcon = new SqlConnection()。 } else { MessageBox .Show (更新失敗,請查找