ASP loop Import Export data processing do not use caching _ Application Tips
Source: Internet
Author: User
<%
'//Data Processing Section
Dim Content,num,i,strcodea
I=request ("I")
If Len (I) =0 then i=0
Response.Write "<br><div align=center> The program has now been looping through the" &I& "secondary data </div><br>"
Strcodea= ' uploadfiles/news '//need to query for strings included
Strcodeb= "" ""/uploadfiles/news "//replaced string
Strcodec= "" "" http://www.jb51.net/uploadfiles/news "//replacement string
Set rs = server. CreateObject ("Adodb.recordset")
Rs.Open "Select content from News where id=" &I& "and siteid=1 ORDER by id Desc", conn,1,1
If not (rs.eof or RS.BOF) then
Content=rs ("content")
Num=instr (Content,strcodea)
If Num>0 Then
If Right (content,num, 2) = "" "/" Then
Content=replace (CONTENT,STRCODEB,STRCODEC)
End If
End If
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service