【正文】
ustomer) 序號(hào) 列名 數(shù)據(jù)類型 長(zhǎng)度 字段說明 1 CID Int 4 定義顧客 ID 2 CName Varchar 50 記錄顧客名 ( 4)商品表:記錄商品基本信息,如表 4 所示。 ( 2)分 店系統(tǒng) 的管理,主要包括用戶的管理(修改密碼),顧客的管理(添加,刪除,更新), 銷售收銀 (記錄顧客購(gòu)買信息, 結(jié)繳款 ),倉(cāng)庫(kù)管理(查看商品基本信息包括名稱、價(jià)格等,查看各商品的總量、剩余量, 出入單據(jù)),購(gòu)買第 6 頁 共 22 頁 查詢(查詢購(gòu)買記錄,退換貨)等功能。 ( 2)物流管理方式落后,很難根據(jù) 銷售、庫(kù)存情況,及時(shí)進(jìn)行配貨、補(bǔ)貨、退貨、調(diào)撥。特別是在 JAVA 這樣的跨平臺(tái)語言出現(xiàn)之后, B/S 架構(gòu)管理軟件更是方便、快捷、高效 。用戶通過使用客戶系統(tǒng)從服務(wù)器檢索信 息并進(jìn)行本地操作,服務(wù)器關(guān)注數(shù)據(jù)庫(kù)進(jìn)程,而客戶則關(guān)注信息的表示。 Dataset 及 DataView 由數(shù)據(jù)庫(kù)取出記錄后,須放入 DataSet,如果要顯示在控件中,須使用 DataView。 (2)通過 OLEDB 相連。 可用的開發(fā)工具有記事本及 Visual , 作為微軟 .NET 戰(zhàn)略的重要組成部分 Visual Studio .NET 已經(jīng)于 2021 年 3 月 22 日正式在中 國(guó)推出。 所具有的新性能是: ( 1) Web Controls,它使得創(chuàng)建 forms 和 HTML controls 的工作變得簡(jiǎn)單易行 。該程序能管理平臺(tái)中運(yùn)行的服務(wù)程序,為運(yùn)行程序提供強(qiáng)大的安全保護(hù)后臺(tái)。 服裝連鎖分銷經(jīng)營(yíng)是傳統(tǒng)商業(yè)模式發(fā)展中比較有代表性的一類,現(xiàn)通過科學(xué)的管理方法和現(xiàn)代化的管理工具 ——計(jì)算機(jī)及其網(wǎng)絡(luò)系統(tǒng),規(guī)范分銷經(jīng)營(yíng)中的各項(xiàng)管理,降低服務(wù)成本,提高服務(wù)質(zhì)量。 Main Store。 為了管理好各連鎖店的銷售情況,靠傳統(tǒng)的手工方法很難適應(yīng)當(dāng)今的發(fā) 展需求。 關(guān)鍵詞 : 服裝連鎖;管理系統(tǒng); B/S 結(jié)構(gòu);數(shù)據(jù)庫(kù);總店;分店 Design and Development of Management System for Clothing Chain Store Abstract Nowadays, people benefit a lot from the development of chain stores. Running clothing chain stores is a representative in the mode of traditional mercialization. It can regularize all kinds of managements, reduce the service cost and enhance the quality of service by scientific methods of management and modernized management tools—puters and work application system. It is hard for traditional handwork method to meet nowadays? demand of development, in order to manage the sales of each chain store. Therefore, through employing work application system, chain stores distributed nationwide can greatly improve the management efficiency, mean while the application of these techniques is the inevitable trend in the information times. This system is based on the B/S structure, applies programming language and SQL Server 2021 database to develop. This paper describes the development of clothing chain management system based on B/S, and the demand for this system is analyzed in detail. Then, the plan of this system is discussed. The system39。 本課題研究的意義 在信息技術(shù)迅速發(fā)展的今天 , 基于網(wǎng)絡(luò)的應(yīng)用給人們帶來了很多便利。 本文的主要工作 本文主要是對(duì)設(shè)計(jì)與開發(fā)一個(gè)服裝連鎖管理系統(tǒng)的總結(jié),首先對(duì)本系統(tǒng)所基于 的 B/S 結(jié)構(gòu) ,采用的 編程技術(shù)和 SQL Server 2021 數(shù)據(jù)庫(kù),運(yùn)用的Microsoft Visual Studio .NET 2021 開發(fā)工具等進(jìn)行詳細(xì)的介紹;然后對(duì)用戶的需求分析,指出了需要解決的問題,需要實(shí)現(xiàn)的功能,如分店系統(tǒng)的對(duì)顧客的管理和商品的出售,總店系統(tǒng)的對(duì)總體資源的控制,對(duì)各個(gè)分店銷售情況的及時(shí)了解,第 2 頁 共 22 頁 對(duì)資源的及時(shí)調(diào)配;其次是具體設(shè)計(jì)流程及實(shí)現(xiàn),詳細(xì)介紹了數(shù)據(jù)庫(kù)的設(shè)計(jì),編碼的實(shí)施;接著是系統(tǒng)測(cè)試,通過測(cè)試發(fā)現(xiàn)了系統(tǒng)的一些問題,排除了的錯(cuò)誤,發(fā)現(xiàn)了一些不足等;最后是對(duì)本次設(shè)計(jì)制 作的小結(jié),總結(jié)了設(shè)計(jì)過程中遇到的問題和收獲。另 外,類型安全檢查啟動(dòng)資源回收、結(jié)構(gòu)化異常處理等也都是交由 CLR(公共語言運(yùn)行時(shí))處理的。 ( 2)語言支持, 支持多種語言,它的缺省語言將是 visual Basic第 3 頁 共 22 頁 而不是 vbscript,這意味著我們可以擺脫 vbscript 的語言限制,我們的代碼將是編譯后運(yùn)行的(而不是原來的解釋執(zhí)行)。這些應(yīng)用程序?qū)⒔o當(dāng)今的企業(yè)、機(jī)構(gòu)提供強(qiáng)大的支持,并推動(dòng)下一代基于 XML Web 服務(wù)軟件的發(fā)展。對(duì)于相連數(shù)據(jù)庫(kù)的數(shù)據(jù)處理,也有 2 種方式,即一種是通過 DataSet 來隔離異構(gòu)的數(shù)據(jù)源,另一種是以流方式從數(shù)據(jù)源讀取 (DataReader 方式 )。 SQL是英文 Structured Query Language 的縮寫,意思為結(jié)構(gòu)化查詢語言。它是隨著 Inter 技術(shù)的興起,對(duì) C/S 結(jié)構(gòu)的一種變化或者改進(jìn)的結(jié)構(gòu)。市場(chǎng)機(jī)遇帶給品牌服裝企業(yè)的則是瞬息萬變的世界性市場(chǎng)和更加激烈的競(jìng)爭(zhēng),自有品牌服裝企業(yè)要想在殘酷的市場(chǎng)搏擊中立于不敗之地,就要保持較低的競(jìng)爭(zhēng)成本、優(yōu)質(zhì)的產(chǎn)品質(zhì)量和高水平的客戶服務(wù)。 ( 3)顧客難與店鋪互動(dòng),很難對(duì)顧客實(shí)行個(gè)性化的服務(wù)。 圖 2 總店系統(tǒng)結(jié)構(gòu)圖 ( 3)分店系統(tǒng):功能包括對(duì)顧客信息的管理,對(duì)購(gòu)買信息的記錄、查詢,對(duì)商品信息的查看,對(duì)購(gòu)買商品的結(jié)款等,具體結(jié)構(gòu)如圖 3 所示。 表 6 購(gòu)買表 ( Buy) 序號(hào) 列名 數(shù)據(jù)類型 長(zhǎng)度 字段說明 1 DepID Int 4 定義連鎖店 ID 號(hào) 2 CID Int 4 定義顧客 ID 3 CName Varchar 50 記錄顧客名 4 ProID Int 4 定義產(chǎn)品 ID 號(hào) 5 PName Varcha 50 記錄產(chǎn)品名 6 BuyNum Decimal 9 記錄購(gòu)買數(shù)量 7 PPrice Decimal 9 記錄產(chǎn)品價(jià)格 8 Buytime Datetime 8 記錄購(gòu)買時(shí)間 編碼實(shí)施 的配置 如果在 ,則可以在應(yīng)用程序中通過一些代碼讀取該信息,這樣就可以實(shí)現(xiàn)對(duì)配置信息的全局控制。 //獲得數(shù)據(jù)庫(kù)連接字符串 string STconnection = [strconnection]。 //通過調(diào)用 ExecuteReader()從數(shù)據(jù)庫(kù)中檢索行,創(chuàng)建 SqlDataReader 實(shí)例 SqlDataReader STsdr = ()。代碼如下: asp:datagrid id=STmyGrid runat=server OnPageIndexChanged= STmyGrid_Page AllowPaging=True PageSize=5 AutoGenerateColumns=False OnCancelCommand=STmyGrid_cancelOnDeleteCommand=STmyGrid_delete OnEditCommand=STmyGrid_editOnUpdateCommand=STmyGrid_update DataKeyField =STUserID Width=100% 圖 5 顯示用戶 信息頁 代碼部分實(shí)現(xiàn)查看、修改和刪除用戶信息的功能,頁面進(jìn)行初始化時(shí),通過調(diào)用 BindGrid()方法從數(shù)據(jù)庫(kù)中獲取用戶信息填充 DataGrid 控件。 //將信息填充到 DataSet (STds)。 第 12 頁 共 22 頁 BindGrid()。 (new SqlParameter(STNoAdmin,4))。 //打開連接 ()。 BindGrid()。 } catch(SqlException){ } ()。 SqlDataReader STdr1 = ()。 (new SqlParameter(STUserName,50))。 ()。 string userid=()。 while(()) { =sdr[GukeID].ToString()。 } 圖 8 購(gòu)買信息查詢頁面 結(jié)納款部分 此處實(shí)現(xiàn)對(duì)購(gòu)買商品的價(jià)格的結(jié)算,代碼如下: string strCon=[strconnection]。 int total=prc*buynum。 =()。 ③ IIS: Inter Information Server 版本。 第 19 頁 共 22 頁 圖 16 銷售收銀頁面 測(cè)試與分析 ( 1)測(cè)試目的 盡可能發(fā)現(xiàn)存在的錯(cuò)誤及不足之處,以對(duì)錯(cuò)誤進(jìn)行改正,對(duì)不足之處加以完善,保證系統(tǒng)的正常運(yùn)行及功能的完善。 ③ 程序中錯(cuò)誤處理和輸入控制不夠全面,可能導(dǎo)致輸入無效引發(fā)錯(cuò)誤。 數(shù)據(jù)庫(kù)的建立需要有很強(qiáng)的邏輯性,反復(fù)畫圖研究后仍然制作的不是很規(guī)范,對(duì) C語言的運(yùn)用不是很熟練,導(dǎo)致在調(diào)試過程中一些細(xì)小錯(cuò)誤的經(jīng)常出現(xiàn)等。除非另有說明,本文的工作是原始性工作。 but Montfermeil was none the less a village. Retired clothmerchants and rusticating attorneys had not discovered it as yet。 then he paused again and stopped short, as though in thought, and afte r the lapse of a few seconds, instead of allowing the knoc ker to fall abruptly, he placed it gently, and resumed his way with a sort of haste which had not been apparent previously. M. Madeleine found Master Scaufflaire at home, engaged in stitching a harness over. Master Scaufflaire, he inquired, have you a good horse? Mr. Mayor, said the Fleming, all my horses are good. What do you mean by a good horse? I mean a horse which can travel twenty leagues in a day. The deuce! said the Fleming. Twenty leagues! Yes. Hitched to a cabriolet? Yes. And how long can he rest at the end of his journey? He must be able to set out again on the next day if necessary. To traverse the same road? Yes. The deuce! the deuce! And it is twenty leagues? M. Madeleine drew from his pocket the paper on which he had pencilled some figures. He showed it to the Fleming. The figures were 5, 6, 8 1/2. You see, he said, total, nieen and a half。 and some one must be by whi