【正文】
mproved. 2. As the ASP does not provide any output data for the content of the ponents, so writing a database using ASP page can use the Record Set Object ADO to read records of transaction, while the ASP provided through the DataGrid, such as database and database ponents can be directly Contact. 3. ASP support realtime application updates. Administrators do not have to turn off the work server or even do not have to stop running the application can update the application on file. Application documents will never be locked, so even when the program runs in the paper can be overwritten. When the document is updated, the system will convert to the new moderate version. 4. ASP take the codebehind approach to the preparation of the code makes the code easier to prepare, structure more clearly, reducing the system development and maintenance of the plexity and the cost of. 1 System Development Principle The System Architecture Model of ASPbased Technology ASP is a threetier system structure: UI Layer, Business Logic Tier and data layer. UI layer is responsible for interaction with the user, receiving user input and serverside data from present to clients. Business Logic Tier is responsible for receiving requests from browser requests to the data layers and at the same time the results of the request sent to the browser. It consists of Web Forms, XML Web services and service position ponents. Web Forms which is the core of the application, it is presented to customers based on data and information as well as to respond to and deal with customers and display interactive Web form generated based on information and data. Data layers to manipulate data through the layer for business logic to provide data services, such as storing the results of data manipulation and return to the results of data retrieval. The principle of access to the database Connected with the database, provide the following three kinds of ways: through ODBC connected。 【關(guān)鍵詞】 ASP, SQL,新聞管理,數(shù)據(jù)庫 隨著 Inter的普及,越來越多的企業(yè)建立了自己的 WWW網(wǎng)站,企業(yè)通過網(wǎng)站可以展示產(chǎn)品,發(fā)布最新動(dòng)態(tài),與用戶進(jìn)行交流和溝通,與合作伙伴建立聯(lián)系,以及開展電子商務(wù)等。管理員不必關(guān) 掉網(wǎng)絡(luò)服務(wù)器或者甚至不用停止應(yīng)用程序的運(yùn)行就可以更新應(yīng)用文件。其中 Web 表單是 應(yīng)用程序的核心所在,它是向客戶呈現(xiàn)數(shù)據(jù)和信息的基礎(chǔ),也是響應(yīng)和處理客戶與顯示的 Web 表單交互生成的信息和數(shù)據(jù)的基礎(chǔ)。 的另一個(gè)創(chuàng)新是引入了數(shù)據(jù)集 (Dataset)。 ( 2)即時(shí)可見:對新聞的處理(包括錄入、修 改、刪除)將立即在主頁的對應(yīng)欄目顯示出來,達(dá)到 “ 即時(shí)發(fā)布、即時(shí)見效 ” 的功能。 ( 5)新聞管理:該模塊負(fù)責(zé)分頁羅列登錄的注冊用戶曾發(fā)布過且未刪除的新聞信息,用戶可以對該條新聞進(jìn)行刪除、修改。 ( 3)新聞閱讀:在其他頁面中點(diǎn)擊標(biāo)題鏈接即進(jìn)入新聞閱讀頁面,此時(shí),每條新聞的詳細(xì)信息將被取出,包括內(nèi)容、標(biāo)題、關(guān)鍵字等,并按照相對固定的格式放置在