日期:2014-05-17 浏览次数:21064 次
<%
for i=1 to 10
if i<10 then
if i<10 then
ProdId="0"&(i)
else
ProdId=(i)
end if
elseif i<100 then
if i<10 then
ProdId="00"&(i)
elseif i<100 then
ProdId="0"&(i)
else
ProdId=(i)
end if
elseif i<1000 then
if i<10 then
ProdId="000"&(i)
elseif i<100 then
ProdId="00"&(i)
elseif i<100 then
ProdId="0"&(i)
else
ProdId=(i)
end if
else
ProdId=(i)
end if
response.write ProdId &"<br>"
next
%>