欢迎来到天天文库
浏览记录
ID:37916602
大小:49.50 KB
页数:5页
时间:2019-06-02
《ASP基础学习代码VbScript语言基础》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Ionlywanttobeanordinaryman.Theserverandclientcaneitherinnetworkdifferentposition,alsocanbeinthesamecomputerProgramexecutionendcanbedividedbetweentheclientandtheserverDynamicwebdesignmethod:JS&DHTML:ApplicabletopersonalwebsiteCGI(commongatewayinterface):Tob
2、eexecutedontheserver,noteasydevelopment,thefunctionislimited.ASP:DynamicwebdevelopmentofbestchoicePHP:JSP:VBScript
3、erisseethisspecialcharacters,hetriedtoputthediffcultiesofcontentbetweenthemexplanationforascript.Variablesandconstantsx=123x=456Symbols:+-*/Reservedword:timeyearrequestresponseAssignmentstatementsx=123Usingbuilt-infunctionsofstatementsx=timeMaketheprograms
4、teeringstatementsifthenelseMaketheprogramcycleofstatementsfornextUseobjectofstatementsResponse.WriteVBSspeaking,forthesimplestwayistouseinputInputBoxfunctions;ThesimplestwayistousetheoutputofMsgBoxfunctionInwritingASP,InputBoxandMsgBoxfunctionisnotavailabl
5、eUseyourbrowser'swebsitetoinputdataData1=request(“name”)Data2=request(“love”)UsingtheformtoinputdataDatarepresentationNumericaldata2005、-204StringdataAstringofaroundmustbeused""coverup“computer”ThedatetimedataMustuse##coverup#1998/12/31##19:30:21#Booleanda
6、taEmptyDataoperationsArithmeticStringconnecttransportationThedataandthedatalink“ABC”&”123”“ABC”+”123”X=80IfX>60ThenV=“pass”ElseV=“fail”Endif
You
7、rfavourite<%x=timeResponse.write"Timeis:"&x%><%Data1=request("Name")Data2=request("Favourite")Response.writeData1Response.write"welcometoyou,yourfavouriteis8、:"Response.writeData2ifData1="caoyangping"andData2="math"then%>youareagoodgoodboy!<%else%>youareanordinaryboy!<%endif%><%x=Hour(Now)ifx>6andx<18then%>Goodafternoon!<%else%>Goodevenin
<%x=timeResponse.write"Timeis:"&x%><%Data1=request("Name")Data2=request("Favourite")Response.writeData1Response.write"welcometoyou,yourfavouriteis
<%x=timeResponse.write"Timeis:"&x%>
8、:"Response.writeData2ifData1="caoyangping"andData2="math"then%>
youareagoodgoodboy!<%else%>
youareanordinaryboy!<%endif%><%x=Hour(Now)ifx>6andx<18then%>
Goodafternoon!<%else%>
Goodevenin
此文档下载收益归作者所有