欢迎来到天天文库
浏览记录
ID:43809930
大小:1.77 MB
页数:37页
时间:2019-10-14
《计算机科学与技术:VB.NET应用教程 978-7-302-09622-1 Advanced VB.NET Chapter 15》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Chapter15ActiveServerPages.NETandActiveXDataObjects.NETObjectivesUnderstandspecificIntrinsicclassesinASP.NET–RequestandResponseUnderstandhowstateismaintainedinWebPagesUnderstandtheintrinsicclass,SessionUnderstandhowADO.NETisusedinconjunctionwithASP.NETLab15.1The
2、firstASP.NET/ADO.NETapplicationLab15.2TheExamApplicationwithDynamicWebFormControlsUnderstandthePlaceHoldercontrolthatisuniquetoWebFormsUnderstandhowWebFormcontrolscanbecreateddynamicallySuggestedHomeAssignments2Copyright2004PearsonEducation,Inc.HTTPRequestClassH
3、TTPRequestclassinstanceisexposedastheRequestpropertyofthePageclassTheinformationinanHTTPrequestcanbeaccessedthroughtheproperties,collections,andmethodsoftheHTTPRequestclassEx:TheFormcollectioncontainsthevaluesofallformcontrolsinName/Valuepairs3Copyright2004Pear
4、sonEducation,Inc.HTTPRequestClassProperty/Collection/MethodDescriptionAcceptTypespropertyReturnsaStringarraycontainingtheMIMEtypesBrowserpropertyReturnsaninstanceoftheHttpBrowserCapabilitiesclassthathelpstodeterminethecharacteristicsoftheclientbrowsersuchaswheth
5、erthebrowsersupportsbackgroundsounds,supportscookies,andFramesamongothersInputStreampropertyReturnsaStreamobjectcontainingthebodyoftheHTTPrequestIsSecureConnectionpropertyReturnsaBooleanindicatingwhetherthecurrentconnectionusessecuresocketlayers(SSL)ornotUserHos
6、tAddresspropertyReturnstheIPaddressoftheclientCookiescollectionReturnsaninstanceoftheHttpCookieCollectionclassthatcontainsallthecookiespresentintheclientrequestFormcollectionReturnsaninstanceoftheNameValueCollectionclassthatcontainsallformcontrolvalues(providedt
7、hemethodattributeoftheHTMLFormissettoPOST)ParamscollectionThiscollectionalsoreturnsaninstanceoftheNameValueCollectionclassthatcontainsname/valuepairsfortheCookies,Form,QueryString,andtheServerVariablescollectionSaveAsmethodThismethodisdesignedtosavetheHTTPreques
8、ttodisk.Acceptstwoarguments–filenameandasecondBooleanargumenttoindicatewhethertosavetheHTTPheaderinformationaspartoftherequestTable15.1:FewoftheHTTPRequestclassproper
此文档下载收益归作者所有