成都理工大学工程技术学院课程设计报告简易投票系统作者姓名:钟璐专业名称:信息管理与信息系统指导教师:杨忠讲师Web应用开发技术摘要在积极建立科学管理机制的今天,仅仅靠原始的手工管理或简单的单机管理,管理部门面对大量的信息,无法有效率地将其中的重要部分提取出来,并做出相应的判断和处理。投票管理者的决策只能依据手工表数据,在浪费大量人力、物力的同时无法做到实时监控,难以保证数据的准确性和及时性。因此,先进的管理思想就成为了一个可望而不可及的目标。投票非常急需一套既有先进管理思想的系统,作为实现目标和提高现有投票管理水平的一种重要手段。随着科学技术的不断提高,计算机科学日渐成熟,其强大的功能已为人们深刻认识,它已进入人类社会的各个领域并发挥着越来越重要的作用。作为计算机应用的一部分,在先进的计算机技术、通信技术、控制技术及IC卡技术基础上,采用系统集成方法,逐步建立一个智能化的投票系统。编写在线投票系统,最重要的一点就是如何从烦琐的投票结果中,导出全部投票项目的票数,然后根据投票项目的各个票数,进行票数百分比计算,最后编辑出在线投票系统。开发该系统我主要采用ASP技术和SQL数据库相结合的方式。ASP技术通过在静态HTML内容中嵌入服务器端脚本,实现网页内容的动态改变。Web服务器从磁盘上读取含有服务器端脚本的网页,在网页发送给客户端浏览器之前,先对其中的服务器端脚本进行解释,输出用户定制内容,从而产生动态网页。数据库采用SQLServer2000大型数据库,能够胜投票系统中的数据处理。本文在相关理论指导下,在分析其他一些系统的基础上,开发出了一个简单的在线投票系统(包括功能模块设计、数据库结构设计等)基本解决了管理人员的烦琐事务。关键词ASP投票数据库Web应用开发技术AbstractBebuildingupvotetomanagetodayofmechanismactively,onlydependoriginalityofthehandicraftmanageorthesimplesinglemachinemanage,managementDept.publicappearancetoagreatdealofinformation,can'tefficientlywillamongthemofimportancepartwithdraw,anddoajudgmentandtheprocessingforcorresponding.Decisionwhichvotesgovernorcanaccordingtothestatementdata,atwasteagreatdealofmanpower,materialresourcescan'tinthemeantimeattainactuallysuperviseandcontrol,theaccuracyofhardassurancedatawithintimesex.Therefore,theforerunner'smanagementthoughtcarriedoutandthenbecamedaninaccessibletargetinthevote.Thevoteneedsthemanagementinformationthatasetofcurrentforerunnermanagesthoughtsystemurgentlyverymuch,isakindofimportantmeanswhichcarriesoutatargetandraisesanexistingvoteamanagementlevel.Thetechnicalalongwithscienceofraisecontinuously,thecalculatorscienceisgraduallymature,theitsstrongfunctionhasalreadybeenpeople'sdeepunderstanding,ithasalreadyenteredeachrealmofthesocietyofmankindtoerupttoflickamoreandmoreimportantfunction.Beacalculatorappliedonepart,theteachingmission'sarrangeinorderisahardnuttocrack,numeroushighschools,researchorganizationsandpersonalscarriedonagreatdealofresearchandthedevelopmentworkfromthetheoriesandfulfillment.Writeon-linevotesystem,Themostimportantonepointbehowplanfromthetrivialteachingmedium,Leadateachingmissionofdemand,Thentheconcreteneedofeverysemesterofbasis,Carryonthemissionarrangeinordertoincludemissiontoincrease,modify,delete,theteachingmissionofWeb应用开发技术thebornandendperformance.Developthatsystem;ImainlyadoptthewaythattheASPtechniqueandtheSQLdatabasecombinetogether.TheASPtechniquepassesinthestaticstateHTMLcontentstoimbedaservertocarryscript,Carryoutthedynamicstatechangeofthewebpagecontents.TheWebserverreadstoimplythewebpagethattheservercarriesscriptfromthedisk,beforethewebpagesendouttothecustomercarryabrowser,theserverwonfirstastoitscarriesscripttocarryonexplain,outputthecustomermakestoorderacontents,Produceadynamicstatewebpagethus.ThedatabaseadoptstheSQLServer2000largedatabases,canbecompetentthedataprocessingintheteachingmission.Thistextdevelopedasimpleon-linevotesystem(includeafunctionmoldapieceadesign,databasestructuredesignetc.)onthefoundationoftheanalysisalittlebitothersystemsundertherelatedtheoriesinstructionbasicsolvedthemanager'strivialbusiness.KeyWordsASPVOTEDatabase目录摘要.................................................................................................................................IIABSTRACT........................................................................................................................III前言.................................................................................................................................11编程环境及数据库.......................................................................................................21.1编程环境.....................................................................................................................21.2数据库介绍.................................................................................................................2Web应用开发技术2设计目的...................................................................................错误!未定义书签。2.1设计目的.....................................................................................................................23需求分析与总体设计....................................................................................................23.1需求分析.....................................................................................................................33.2主要界面.....................................................................................................................33.2.1系统主要界面的设计..........................................................................................73.2.2系统模块的设计..................................................................................................73.3详细设计.....................................................................................................................73.3.1数据表的设计......................................................................................................73.3.2投票系统首页的设计...........................................................................................73.3.3显示投票选项的设计.................