![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
每日一个问题总结
duyiwuer888
人生只有走出来的美丽,没有等出来的辉煌!
展开
-
ASP的错误代码都有哪些
错误代码 错误消息 说 明 ASP0100 Out of memory 内存不足(不能分配要求的内存) ASP0101 Unexpected error 意外错误 ASP0102 Expecting string input 缺少字符串输入 ASP010...2010-04-05 09:27:58 · 110 阅读 · 0 评论 -
3.如何把IP表存到SQL数据库里去?
试试下面这个程序: saveip.asp<%Server.Scripttimeout = 1000On Error Resume NextstrSQLDSN = "xxxx"strSQLUsername = "sa"strSQLPassword = ""' 定义SQL信息Set adoConn = Server.CreateObject("ADODB.Connection") ' 连接数...2010-04-06 13:18:04 · 177 阅读 · 0 评论 -
4.如何把Recordset转换成彩色的XML文件?
<%@ codepage="65001" %> <!-- #INCLUDE FILE="ADOVBS.INC" --> <% Response.ContentType = "text/xml" ' 如果不在 adovbs.inc 里,则设置一个常量 Set Con = Server.CreateObject( "ADODB.Connection"2010-04-07 11:21:38 · 240 阅读 · 0 评论 -
5.最快地清空所有的记录?
清空记录,我都用的delete命令,为什么朋友使用truncate命令呢? 因为使用truncate命令清空所有的记录速度比delete快,并且快很多呢。 看看具体方法,identity字段是可以修改的,缺省是关闭的,我们要把开关打开: set identity_insert table on insert .... set identity_insert table off 这...2010-04-09 14:37:28 · 151 阅读 · 0 评论 -
6. 怎样在网站中插播广告
请问怎样在网站中插播广告? 首先,我们要写一个adrot.txt adrot.txt redirect width 550 height 60 border 0 * images/chunfengad.gif http://www.ziranfengguanghao.com 欢迎访问自然春光好! 50 ' 显示百分比 images/intelsad.gif ...2010-04-09 14:51:50 · 326 阅读 · 0 评论