你可能感兴趣的试题
Add Object Command1 AS commandbutton MyforAddobject("command1","commandbutton") MyforAddobject("commandbutton","command1") command1=Addobject("comandl","commandbutton")
使用VBScript、Jscript等通俗易懂的脚本语言 面向对象 ASP的源程序不会被传到客户浏览器 需要编译,然后在服务器端执行
Application Session Request Response
Add Object Commandl AS commandbutton MyforAddobject("commandl","commandbutton") MyforAddobject("commandbutton","commandl”) commandl=Addobject("comandl","commanclbutton")
write clear binarywrite flush
Session Application Request Server
Request Object Server Application
Add Object Commandl AS commandbutton Myform.Addobject("commandl","commandbutton") Myform.Addobject("commandbutton","commandl") commandl=Addobject("comandl","commandbutton")
AddObjectCommandlAScommandbutton Myform.Addobject(”commandl","commandbutton") Myform.Addobject(”commandbutton","commandl") commandl=Addobject(”comandl","commandbutton")
Server.CreateObject(“AdodConnection”) Server.CreateObject(“AdodRecordSet”) Server.CreateObject(“Scripting.FileSystemObject”) Server.CreateObject(“WScript.Shell”)
Add Object Commandl AS commandbutton Myform.Addobject("commandl","commandbutton") Myform.Addobject("commandbutton","commandl”) commandl=Addobject("comandl","commanclbutton")
WITH Myform .caption="我的菜单" ENDWITH Myforclick Myforcaption="我的菜单" Thisforcaption="我的菜单"
AddObjectCommandlAScommandbutton MyforAddobject(”commandl","commandbutton") MyforAddobject(”commandbutton","commandl") commandl=Addobject(”comandl","commandbutton")
AddObject Commandl AS commandbutton MyforAddobject("commandl","commandbutton") MyforAddobject("commandbutton","commandl") Commandl=Addobject("commandl","commandbutton")
ASP的built-in对象不用产生一个实例就能够直接引用 ASP的built-in对象需要用server对象的CreatInternalObject方法来产生一个实例才能够引用 在整个网站应用中内嵌对象的所有方法、集合以及属性都是自动可访问的 ASP的ActiveX组件需要用server对象的CreatObject方法来产生一个实例才能够引用