資源描述:
《asp.net網(wǎng)上選課系統(tǒng)設(shè)計》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、東華理工大學(xué)本科畢業(yè)設(shè)計(論文)摘要摘要大學(xué)期間總會有很多公共選修課,以往的選課方法是隨堂報名。這種方法雖然直接,但是造成選課的盲目性,有些課堂選課時人滿為患,有些課堂無人選課。原因是傳統(tǒng)的選課方法沒有預(yù)見性,大家沒有事先協(xié)調(diào)好。使用了網(wǎng)上選課系統(tǒng)以后,可以在開課前就在網(wǎng)上選課,每個學(xué)生的課程在開課前就確定好,不用浪費體力去選課,還可以使教學(xué)資源合理平均地分配。該B/S結(jié)構(gòu)的系統(tǒng)在WindowsXP系統(tǒng)和VS.NET平臺下開發(fā)完成,使用C#作為ASP.NET的開發(fā)語言,SQLServer2000作為數(shù)據(jù)庫。系統(tǒng)有
2、較高的安全性和較好的性能。其中連接數(shù)據(jù)庫的字符串可以隨時在web.config里修改,并經(jīng)過編碼加密,增加了靈活性,保護了數(shù)據(jù)庫的安全。代碼中通過使用進程中的Session、盡量使用存儲過程和盡量減少數(shù)據(jù)庫連接的打開時間等手段來提高性能。通過分析B/S結(jié)構(gòu)的特點并結(jié)合我校公共選修課的實際情況,提出了基于B/S結(jié)構(gòu)網(wǎng)上選課系統(tǒng)的基本設(shè)計思想,簡要介紹了系統(tǒng)各功能模塊及數(shù)據(jù)庫的設(shè)計,著重討論了用ASP.NET技術(shù)和SQLServer2000開發(fā)網(wǎng)上選課系統(tǒng)時的數(shù)據(jù)庫訪問技術(shù)和動態(tài)網(wǎng)頁制作技術(shù),并給出了部分實現(xiàn)代碼。通
3、過該系統(tǒng),使學(xué)生可以方便地在校園網(wǎng)上進行網(wǎng)上選課。關(guān)鍵詞:網(wǎng)上選課;瀏覽器/服務(wù)器結(jié)構(gòu);數(shù)據(jù)庫管理系統(tǒng);存儲過程42東華理工大學(xué)本科畢業(yè)設(shè)計(論文)摘要ABSTRACTTherearemanypublicelectivecoursesduringuniversityperiod,andalwaysweshouldgotoclassroomtoenroll.Althoughthismethoddirectly,butresultinblindnessofthecourseenrollment.Someclassro
4、omsovercrowdingduringcoursechoosingperiod,onthecontrarysomeclassroomsdesolate.Thereasonofthissituationisthatthetraditionalmethodofcoursechoosinglackprescience,andtherearenopriorcoordination.Withthehelpofpublicelectivecoursesonlinecourseelectsystem,everystuden
5、ts’coursescanbedeterminedbeforethebeginningoftheterm,savingphysicalforceandreasonablydistributingteachingresources.ThisB/SstructuresystemisdevelopedunderVS.NETplatforminWindowsXPoperatingsystem,usingC#asASP.NETdevelopmentlanguageandSQLServer2000asthedatabase.
6、Thissystemisofhighersecurityandbetterperformance.Thecharacterstring,whichisusedtoconnectingtothedatabase,canbemodifiedatanytimeinthefile“web.config”.Thestringisencodedandencrypted,increasingflexibilityofthesystemandsecurityofthedatabase.Incode,throughusingthe
7、Sessioninprocess,makinguseofstoredprocedureandminimizingthedatabaseopeningtimetoimproveperformanceofthesystem.ThispapergivesthebasicdesignideaoftheB/S—basedonlinecourseelectsystembyanalyzingthecharacteristicoftheB/Sstructureandcombiningwiththeactualpublicelec
8、tivecoursesconditionsofourschool.Itintroducesthefunctionmoduleanddatabasedesignbriefly,followedbyadiscussionondatabaseaccessingtechnologyandtheactivepagetechnologyofthecourseelectsystemba