ASP在线投票系统程序设计论文.doc
重庆邮电大学移通学院毕业设计(论文)1摘要在积极建立科学管理机制的今天,仅仅靠原始的手工管理或简单的单机管理,管理部门面对大量的信息,无法有效率地将其中的重要部分提取出来,并做出相应的判断和处理。投票管理者的决策只能依据手工表数据,在浪费大量人力、物力的同时无法做到实时监控,难以保证数据的准确性和及时性。因此,先进的管理思想就成为了一个可望而不可及的目标。投票非常急需一套既有先进管理思想的系统,作为实现目标和提高现有投票管理水平的一种重要手段。随着科学技术的不断提高,计算机科学日渐成熟,其强大的功能已为人们深刻认识,它已进入人类社会的各个领域并发挥着越来越重要的作用。作为计算机应用的一部分,在先进的计算机技术、通信技术、控制技术及IC卡技术基础上,采用系统集成方法,逐步建立一个智能化的投票系统。编写在线投票系统,最重要的一点就是如何从烦琐的投票结果中,导出全部投票项目的票数,然后根据投票项目的各个票数,进行票数百分比计算,最后编辑出在线投票系统。开发该系统我主要采用ASP技术和SQL数据库相结合的方式。ASP技术通过在静态HTML内容中嵌入服务器端脚本,实现网页内容的动态改变。Web服务器从磁盘上读取含有服务器端脚本的网页,在网页发送给客户端浏览器之前,先对其中的服务器端脚本进行解释,输出用户定制内容,从而产生动态网页。数据库采用SQLServer2000大型数据库,能够胜投票系统中的数据处理。本文在相关理论指导下,在分析其他一些系统的基础上,开发出了一个简单的在线投票系统(包括功能模块设计、数据库结构设计等)基本解决了管理人员的烦琐事务。关键词ASP投票数据库重庆邮电大学移通学院毕业设计(论文)2AbstractBebuildingupvotetomanagetodayofmechanismactively,onlydependoriginalityofthehandicraftmanageorthesimplesinglemachinemanage,managementDept.publicappearancetoagreatdealofinformation,cantefficientlywillamongthemofimportancepartwithdraw,anddoajudgmentandtheprocessingforcorresponding.Decisionwhichvotesgovernorcanaccordingtothestatementdata,atwasteagreatdealofmanpower,materialresourcescantinthemeantimeattainactuallysuperviseandcontrol,theaccuracyofhardassurancedatawithintimesex.Therefore,theforerunnersmanagementthoughtcarriedoutandthenbecamedaninaccessibletargetinthevote.Thevoteneedsthemanagementinformationthatasetofcurrentforerunnermanagesthoughtsystemurgentlyverymuch,isakindofimportantmeanswhichcarriesoutatargetandraisesanexistingvoteamanagementlevel.Thetechnicalalongwithscienceofraisecontinuously,thecalculatorscienceisgraduallymature,theitsstrongfunctionhasalreadybeenpeoplesdeepunderstanding,ithasalreadyenteredeachrealmofthesocietyofmankindtoerupttoflickamoreandmoreimportantfunction.Beacalculatorappliedonepart,theteachingmissionsarrangeinorderisahardnuttocrack,numeroushighschools,researchorganizationsandpersonalscarriedonagreatdealofresearchandthedevelopmentworkfromthetheoriesandfulfillment.Writeon-linevotesystem,Themostimportantonepointbehowplanfromthetrivialteachingmedium,Leadateachingmissionofdemand,Thentheconcreteneedofeverysemesterofbasis,Carryonthemissionarrangeinordertoincludemissiontoincrease,modify,delete,theteachingmissionofthebornandendperformance.Developthatsystem;ImainlyadoptthewaythattheASPtechniqueandtheSQLdatabasecombinetogether.TheASPtechniquepassesinthestaticstateHTMLcontentstoimbedaservertocarryscript,Carryoutthedynamicstatechangeofthewebpagecontents.TheWebserverreadstoimplythewebpagethattheservercarries重庆邮电大学移通学院毕业设计(论文)3scriptfromthedisk,beforethewebpagesendouttothecustomercarryabrowser,theserverwonfirstastoitscarriesscripttocarryonexplain,outputthecustomermakestoorderacontents,Produceadynamicstatewebpagethus.ThedatabaseadoptstheSQLServer2000largedatabases,canbecompetentthedataprocessingintheteachingmission.Thistextdevelopedasimpleon-linevotesystem(includeafunctionmoldapieceadesign,databasestructuredesignetc.)onthefoundationoftheanalysisalittlebitothersystemsundertherelatedtheoriesinstructionbasicsolvedthemanagerstrivialbusiness.KeyWordsASPVOTEDatabase重庆邮电大学移通学院毕业设计(论文)4目录前言.6第1章编程环境及数据库.71.1编程环境.71.2ASP简介.71.2.1ASP的技术特点.71.2.2ASP对象使用基础.81.2.3ASP的工作原理.91.2.4ASP的运行环境.101.3数据库选择.111.4数据库接口的实现.12第2章数据建模.132.1数据库建模方法.132.2程序开发软件.14第3章需求分析与总体设计.183.1需求分析.183.1.1需求的提取.183.1.2需求定义与规约.183.2系统总体设计.193.2.1系统结构图.193.2.2数据功能模块设计.193.2.3系统的主要功能设计.203.2.4数据库设计.20第4章详细设计与实现.244.1投票界面模块的设计.244.2投票项目模块的设计.274.3投票结果模块的设计.324.4用户管理模块的设计.35