`
- 浏览:
6830856 次
- 性别:
- 来自:
上海
-
-
<%
- '//数据处理部分
- dimContent,Num,I,strCodea
-
I=request("I")
-
Iflen(I)=0thenI=0
-
Response.write"<br><divalign=center>该程序目前已经循环处理了"&I&"次数据</div><br>"
-
strCodea="UploadFiles/News"'//需要查询是否包含的字符串
-
strCodeb="""""/UploadFiles/News"'//被替换的字符串
-
strCodec="""""http://www.sditi.com/uploadfiles/news"'//替换字符串
-
Setrs=server.CreateObject("adodb.recordset")
-
rs.open"selectcontentFromnewswhereid="&I&"andsiteid=1orderbyiddesc",conn,1,1
- Ifnot(rs.eoforrs.bof)then
-
Content=rs("content")
-
Num=instr(content,strCodea)
-
IfNum>0then
- Ifright(left(content,Num),2)="""""/"then
-
content=replace(content,strCodeb,strCodec)
- endif
- endif
- endif
- Rs.close
-
II=I+1
-
response.write("<metahttp-equiv=""refresh""content=""0;url=?I="&I""">")
-
Setrs=Nothing
-
%>
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
非常不错,大家可以自己应用下。
│ bcp-数据导入导出-二进制文件.sql │ bcp-数据导出为文件.sql │ bcp表数据存为XML.sql │ SQL Server到Oracle连接服务器的实现.sql │ SQL Server到SQLBASE连接服务器的实现.sql │ SQL Server到SYBASE连接...
限制列数的交叉表.sql │ ├─第07章 │ │ 7.1 splitpage.asp │ │ 7.2.1 TOP n 实现的通用分页存储过程.sql │ │ 7.2.2 字符串缓存实现的通用分页存储过程.sql │ │ 7.2.3 临时表...
阅读历史的导入导出(如果存在相同的历史,并且当前历史未锁定时,会覆盖现有历史) 三星手机上时区的问题(设置中增加了时区) 修正S40上文本输入框无法输入的BUG 修正当文本最后一行为英文时,分词不正确的BUG 全屏...