10 2008 档案
摘要:class Myobj public sub Link() response.Write"cxcxcx" end sub end class dim obj set obj=new Myobj obj.Link() set obj=nothing
阅读全文
摘要:第一步: 第二步: 源文件下载:http://files.cnblogs.com/missthe/change.rar
阅读全文
摘要:Function GetLocationURL() Dim Url Dim ServerPort,ServerName,ScriptName,QueryString ServerName = Request.ServerVariables("SERVER_NAME") ServerPort = Request.ServerVariables("SERVER_PORT") ScriptNa...
阅读全文
摘要:Function regExReplace(sSource, replStr) //(替换字符集,代替值) Dim regEx, str1 str1 = sSource Set regEx = New RegExp regEx.Pattern = "|" regEx.IgnoreCase = True regEx.Global = True regExReplace = regEx.R...
阅读全文
摘要:调用范例: 编辑器源代码下载:http://files.cnblogs.com/missthe/HtmlEditor.rar
阅读全文
摘要:那样写: set rs=conn.execute("select * from Books") while not rs.eof rs2=conn.execute("select * from Authrs where AuthorID="&rs("AuthorID")) Response.write rs("Title")&">>"&rs2("Name") rs.movenext() ...
阅读全文
摘要:函数: Function CheckURL(byval A_strUrl) set XMLHTTP = Server.CreateObject("Microsoft.XMLHTTP") XMLHTTP.open "HEAD",A_strUrl,false XMLHTTP.send() CheckURL=(XMLHTTP.status=200) set XMLHTTP = nothing End f...
阅读全文
摘要:在费时操作前使用Response.IsClientConnected属性 使用Response.IsClientConnected是观察用户是否仍连到服务器并正在载入ASP创建的网页的有用方式。如果用户断开连接或停止下载,我们就不用再浪费服务器的资源创建网页,因为缓冲区内容将被IIS丢弃。所以,对那些需要大量时间计算或资源使用较多的网页来说,值得在每一阶段都检查游览者是否已离线: 以下为引用的...
阅读全文
摘要:我们经常要在某一页面嵌入iframe页面。然后在运行iframe页面后让程序自动刷新父页面,以便运行结果及时显示在父页上。 JS代码即为: window.paren.location.reload();
阅读全文
摘要:通过以下例子说明: insert B(a,b,c,d,e) select aa,bb,cc,dd,ee from A
阅读全文
摘要:假设表名:e_custom 相同记录的字段:usn select * from e_custom where usn in (select usn from e_custom group by usn having count(*)>1)
阅读全文
浙公网安备 33010602011771号