13.07.2015 Views

Standard Single Data Table Web Management Information System ...

Standard Single Data Table Web Management Information System ...

Standard Single Data Table Web Management Information System ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Standard</strong> <strong>Single</strong> <strong>Data</strong> <strong>Table</strong> <strong>Web</strong> <strong>Management</strong> <strong>Information</strong> <strong>System</strong>Through ASPYuan-Hsi HsuDepartment of Business AdministrationFeng Chia UniversityTaichung, Taiwanyhhsu@fcu.edu.twAbstractThe new trend in computer application is to usebrowser as the interface and networking database.MicroSoft designed 6 objects to add on to the HyperTextMarkup Language (HTML) to link homepage withdatabase. It makes web MIS easy and the result callsActive Server Pages (ASP). The purpose of this paper isto introduce a standard procedure to develop a single datatable web MIS. It uses a class student roll as an exampleto illustrate the procedure.1. Introduction<strong>Information</strong> system must be networked or itsaccessibility will limit its usefulness. Ever since thebrowser was introduced, almost all computer users usebrowser as the interface in accessing information fromremote computers. Browser was designed to read theweb pages through HyperText Markup Language.Therefore linking the database with HTML becomesnecessary. MicroSoft designed six objects (server,response, request, application, session, cookie) and webserver can execute them to accomplish this. Serverobject is used to open database and data table. Responseobject is used to bring information from server to usersthrough browser. Request object is used to sendinformation from user’s browser to server. Applicationobject manages the web operations. Session objectmanages individual web user. Cookie object writestemporary information at user’s computer. With these 6objects plus SQL and VB, all the database managementoperations can be performed in web pages.2. <strong>System</strong> ComponentsAll management information system must bemenu-driven and user-friendly. In additions, allmanagement information system must be able to (1) addnew record to file, (2) edit existing record in file, (3)delete existing record in file, and (4) generate reports.<strong>Web</strong> MIS must be the same way. Therefore a single datatable web management information system must have thefollowing components:1. A Mainmenu.html page for user to choose Add,Edit, Delete, and Report options.2. In a add module, a Add.html form for user to typein new record and a Add.asp ASP to perform theactual adding of new record to file.3. In the delete module, a KeyenterE.html form isused to ask user whose record the user wish to editand a LooktatE.asp ASP to retrieve the correctrecord and put it on the screen for the user to seeand to edit. In addition a Modify.asp ASP is usedto actually perform the modification orreplacement of old record by new record.4. In the delete module, a KeyenterD.html form isused to ask user whose record the user wish todelete and a LooktatD.asp ASP is used to retrievethe correct record and to put the retrieved recordon the screen for the user to see. In addition aDelete.Asp ASP is used to actually perform thedeletion of record.5. A Report.asp ASP is used to bring out the report.If there is more than one report, areportmenu.html page should be added betweenthe main menu and reports.3. The <strong>Single</strong> <strong>Table</strong> <strong>Web</strong> MIS StructureThe about components should be structured orconfigured as the following figure:


MainMenu.htmWith Add, Edit, Delete,Report optionsAddform.htm KeyEnterE.htm KeyEnterD.htm ReportMenu.htmAdd.aspLookatE.aspLookatD.aspReport.aspModify.aspDelete.aspFigure 1: <strong>Single</strong> <strong>Table</strong> <strong>Web</strong> MIS StructureTo develop a single table web MIS, all that was neededis to develop a data table and write the above 5 htmlpages and 6 asp pages and link them based on theabove figure.4. An ExampleLet’s use a classmate roll book as an example.Step I: Develop an Access database and table withappropriate fields:<strong>Data</strong>base=members.mdb<strong>Table</strong>=membersStep II: Write the needed 5 html pages and 6 asppages.1. Mainmenu.htmMainmenu.htmManinenu for <strong>Single</strong> File<strong>System</strong> ADDModifyDeleteReportsPlease Make a Selection2. Add.htmAdd.htmAdd New Members To FileName Address Sex(1 for Male, 2 for Female)age Go Back to Mainmenu3. Add.aspAdd.asp


Record has been added to data file Go Back to Mainmenu Go Back to add form 4. KeyenterE.htmKeyEnterE.htmEnter the Name of the Member Whose Record You Wish toEDIT Name: 5. LookatE.aspLookatE.aspEdit Member's Record in FileName Address Sex(1 for Male, 2 for Female)age Go Back to Mainmenu6. Modify.aspModify.aspI Have made the change on the Recordin the File Go Back to Mainmenu7. KeyenterD.htmKeyEnterD.asp


Enter the Name of the Member Whose Record You Wish toDELETE Name: 8. LookatD.aspLookatD.aspDelete Member's Record inFile Name Address Sex(1 for Male, 2 for Female)age Go Back to Mainmenu9. Delete.aspDelete.aspI Have Deleted the Record in theFile Go Back to Mainmenu10. Reportmenu.htmReportKey.htmSelect the Type of Reports (Based on Sex) MaleFemaleAll 11. Report.aspReportKey.htmSelect the Type of Reports (Based on Sex) MaleFemaleAll 5. ConclusionThe about web pages programs are standardformat for all single table MIS. In application, allthat was needed is to change the database name,field names to make it fit.


References[1] Matt J. Crouch, ASP.NET and VB.NET <strong>Web</strong>Programming, Addison Wesley Professional, 1st edition(May, 2002)[2] Stephen Walther and Steve Banick, Active ServerPages 2.0 Unleashed, Sams, 1st edition (July 1999)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!