




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
經(jīng)典word整理文檔,僅參考,雙擊此處可刪除頁眉頁腳。本資料屬于網(wǎng)絡(luò)整理,如有侵權(quán),請(qǐng)聯(lián)系刪除,謝謝!系別專業(yè)班級(jí)姓名性別女學(xué)號(hào)職稱SQLServer20052年月日2完成內(nèi)容年1年2月年2年3月年3年4月年4年5月年5年6月年6年月日本科畢業(yè)論文(設(shè)計(jì))開題報(bào)告書學(xué)生姓名指導(dǎo)教師業(yè)計(jì)算機(jī)科學(xué)與技術(shù)2013年12月26日說明1.本表需在指導(dǎo)教師和有關(guān)領(lǐng)導(dǎo)審查批準(zhǔn)的情況下,要求學(xué)生認(rèn)真填寫。2.課題來源分為教師提供選題或?qū)W生自擬課題;教師的科研任務(wù);社會(huì)有關(guān)單位委托的課題;其他來源。3.若課題因故變動(dòng)時(shí),應(yīng)向指導(dǎo)教師提出申請(qǐng),提交題目變動(dòng)論證報(bào)告。ASP.NETSQL和年月年1月年1月年2月年2月年3月2年3月3年4月年5月1年5月年5月年6日ASP.NETASP.NETWebWindowsASP.NETC#SQLServer2005B/S年月日年年月月日日姓名系別專業(yè)年級(jí)11級(jí)2應(yīng)像外文文獻(xiàn)翻譯原文:PerformingFormValidationwithValidationControlsUsingClient-sideValidationTraditionally,Webdevelopershavefacedatoughchoicewhenaddingformvalidationlogictotheirpages.Youcanaddformvalidationroutinestoyourserver-sidecode,oryoucanaddthevalidationroutinestoyourclient-sidecode.Theadvantageofwritingvalidationlogicinclient-sidecodeisthatyoucanprovideinstantfeedbacktoyourusers.Forexample,ifauserneglectstoenteravalueinarequiredformfield,youcaninstantlydisplayanerrormessagewithoutrequiringaroundtripbacktotheserver.Peoplereallylikeclient-sidevalidation.Itlooksgreatandcreatesabetteroveralluserexperience.Theproblem,however,isthatitdoesnotworkwithallbrowsers.NotallbrowserssupportJavaScript,anddifferentversionsofbrowserssupportdifferentversionsofJavaScript,soclient-sidevalidationisneverguaranteedtowork.Forthisreason,inthepast,manydevelopersdecidedtoaddalltheirformvalidationlogicexclusivelytoserver-sidecode.Becauseserver-sidecodefunctionscorrectlywithanybrowser,thiscourseofactionwassafer.Fortunately,theValidationcontrolsdiscussedinthischapterdonotforceyoutomakethisdifficultchoice.TheValidationcontrolsautomaticallygeneratebothclient-sideandserver-sidecode.IfabrowseriscapableofsupportingJavaScript,client-sidevalidationscriptsareautomaticallysenttothebrowser.IfabrowserisincapableofsupportingJavaScript,thevalidationroutinesareautomaticallyimplementedinserver-sidecode.Youshouldbewarned,however,thatclient-sidevalidationworksonlywithMicrosoftInternetExplorerversion4.0andhigher.Inparticular,theclient-sidescriptsdiscussedinthischapterdonotworkwithanyversionofNetscapeNavigator.RequiringFields:TheRequiredFieldValidatorControlYouuseRequiredFieldValidatorinaWebformtocheckwhetheracontrolhasavalue.Typically,youusethiscontrolwithaTextBoxcontrol.However,nothingiswrongwithusingRequiredFieldValidatorwithotherinputcontrolssuchasRadioButtonList.ValidatingExpressions:TheRegularExpressionValidatorControlYoucanuseRegularExpressionValidatortomatchthevalueenteredintoaformfieldtoaregularexpression.Youcanusethiscontroltocheckwhetherauserhasentered,forexample,avalide-mailaddress,telephonenumber,orusernameorpassword.Samplesofhowtousearegularexpressiontoperformallthesevalidationtasksareprovidedinthefollowingsections.ComparingValues:TheCompareValidatorControlTheCompareValidatorcontrolperformscomparisonsbetweenthedataenteredintoaformfieldandanothervalue.Theothervaluecanbeafixedvalue,suchasaparticularnumber,oravalueenteredintoanothercontrol.SummarizingErrors:TheValidationSummaryControlImaginethatyouhaveaformwith50formfields.IfyouuseonlytheValidationcontrolsdiscussedintheprevioussectionsofthischaptertodisplayerrors,seeinganerrormessageonthepagemightbedifficult.Forexample,youmighthavetoscrolldowntothe48thformfieldtofindtheerrormessage.Fortunately,MicrosoftincludesaValidationSummarycontrolwiththeValidationcontrols.Youcanusethiscontroltosumma
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025至2030年中國冰棗烏龍茶數(shù)據(jù)監(jiān)測研究報(bào)告
- 統(tǒng)編版二年級(jí)語文下冊(cè)期末達(dá)標(biāo)測試卷(全真練習(xí)二)(含答案)
- 北京市昌平區(qū)2024-2025學(xué)年高一上學(xué)期期末質(zhì)量抽測物理試卷(含答案)
- 規(guī)劃快題測試題及答案
- 高一英語衡水試題及答案
- 2022-2023學(xué)年廣東省廣州七中七年級(jí)(下)期中數(shù)學(xué)試卷(含答案)
- 2024甘肅省蘭州市中考英語真題【原卷版】
- 遺產(chǎn)繼承遺產(chǎn)轉(zhuǎn)讓合同(2篇)
- 采購與分包責(zé)任清單合同(2篇)
- 2025年法律知識(shí)競賽試題及答案
- 中國常見食物營養(yǎng)成分表
- 光伏車棚方案
- 基于語文核心素養(yǎng)的初中語文綜合性學(xué)習(xí)教學(xué)策略研究
- 工藝部述職報(bào)告
- 廣東中考美術(shù)知識(shí)點(diǎn)
- 臨床科室科研用藥管理制度
- 多層光柵結(jié)構(gòu)的防偽技術(shù)研究
- 《國有企業(yè)采購操作規(guī)范》【2023修訂版】
- 五年級(jí)語文下冊(cè)第五單元【教材解讀】-【單元先導(dǎo)課】
- DQ-廠房設(shè)施設(shè)計(jì)確認(rèn)方案
- 常用中藥飲片介紹PPT幻燈片
評(píng)論
0/150
提交評(píng)論