摘要:
把它们全归纳到这里,提供大家参考。(个人水平有限,有缺陷之处,欢迎大家指正。)<一>。数据库的连接方法:1.Access数据库的DSN-less连接方法:set adocon=Server.Createobject("adodb.connection")adoconn.Open"Driver={Microsoft Access Driver(*.mdb)};DBQ="& _Server.MapPath("数据库所在路径")2.Access OLE DB连接方法:set adocon=Server.Createobj 阅读全文
posted @ 2011-11-04 22:09
pacohus
阅读(187)
评论(0)
推荐(0)
摘要:
Request.ServerVariables("Url") 返回服务器地址Request.ServerVariables("Path_Info") 客户端提供的路径信息Request.ServerVariables("Appl_Physical_Path") 与应用程序元数据库路径相应的物理路径Request.ServerVariables("Path_Translated") 通过由虚拟至物理的映射后得到的路径Request.ServerVariables("Script_Name") 执行 阅读全文
posted @ 2011-11-04 22:06
pacohus
阅读(148)
评论(0)
推荐(0)
摘要:
Sub EFolder(FolderName) Dim FSOSet FSO=Server.CreateObject("Scripting.FileSystemObject")If Fso.folderexists(Server.MapPath(FolderName)) ThenSet FSO=Nothing Exit SubElseFSO.CreateFolder(Server.MapPath(FolderName)) End If Set FSO=NothingEnd Sub'=========================================== 阅读全文
posted @ 2011-11-04 22:03
pacohus
阅读(196)
评论(0)
推荐(0)
浙公网安备 33010602011771号