湖南長沙八年做網(wǎng)站,網(wǎng)絡(luò)優(yōu)化推廣服務(wù)團(tuán)隊(duì),讓您小投資大回報(bào),幫您打開網(wǎng)絡(luò)營銷財(cái)富之門!
         業(yè)務(wù)服務(wù)熱線:0731-88571521  13637482004  
         


        地址:長沙市韶山南路248號(hào)南園503
              室(瀟湘晨報(bào)旁)
        電話:0731-88571521
        手機(jī):136-3748-2004
        Q  Q:44377655 522392221
        網(wǎng)址:www.boundlesssupremacy.com
        郵箱:522392221@qq.com
        精辟網(wǎng)文
        長沙做網(wǎng)站聯(lián)系電話:0731-88571521 13637482004

        ASP生成XML動(dòng)態(tài)數(shù)據(jù)讀取代碼實(shí)例

        信息來源:長沙做網(wǎng)站   發(fā)布時(shí)間:2014-2-12   瀏覽:

        網(wǎng)站建設(shè)ASP生成XML動(dòng)態(tài)數(shù)據(jù)讀取代碼實(shí)例

        <!--#include file="M_conn.asp"-->
        <%
        username=request("username")
        set rshot=server.CreateObject("adodb.recordset")
        sql="select * from TZ_all where username='"&username&"' order by id desc"
        rshot.open sql,conn,1,1
        if not (rshot.eof and rshot.bof) then
        i=0
        do while not rshot.eof
        line=line&"  <value xid="""&i&""">"&rshot("rl_time")&"</value>"&vbcrlf&""
        line2=line2&"   <value xid="""&i&""">"&rshot("rl")&"</value>"&vbcrlf&""
        i=i+1
        rshot.movenext
        loop
        end if
        rshot.close
        set rshot=nothing

        xmlfile=server.mappath("/party/amline/value_indicator/amline_rl_"&username&".xml")
        Set fso = CreateObject("Scripting.FileSystemObject")
        Set MyFile = fso.CreateTextFile(xmlfile,True)
        MyFile.WriteLine("<?xml version=""1.0"" encoding=""UTF-8""?>")
        MyFile.WriteLine("<chart>")
        MyFile.WriteLine(" <series>")
        MyFile.WriteLine line
        MyFile.WriteLine(" </series>")
        MyFile.WriteLine(" <graphs>")
        MyFile.WriteLine("  <graph gid=""1"">")
        MyFile.WriteLine line2
        MyFile.WriteLine("  </graph>")
        MyFile.WriteLine(" </graphs>")
        MyFile.WriteLine("</chart>")
        MyFile.Close
        response.Redirect("m_my_bar.asp?username="&username&"")
        %>

         

        <%
        xmlfile=server.mappath("test1.xml")
        Set fso = CreateObject("Scripting.FileSystemObject")
        Set MyFile = fso.CreateTextFile(xmlfile,True)
        MyFile.WriteLine("<?xml version=""1.0"" encoding=""UTF-8""?>")
        MyFile.WriteLine("<chart>")

        MyFile.WriteLine(" <series>")
        MyFile.WriteLine("  <value xid=""0"">1997</value>")
        MyFile.WriteLine("  <value xid=""1"">1997</value>")
        MyFile.WriteLine(" </series>")

        MyFile.WriteLine(" <graphs>")
        MyFile.WriteLine("  <graph gid=""1"">")
        MyFile.WriteLine("   <value xid=""0"">50</value>")
        MyFile.WriteLine("   <value xid=""1"">50</value>")
        MyFile.WriteLine("  </graph>")
        MyFile.WriteLine(" </graphs>")

        MyFile.WriteLine("</chart>")
        MyFile.Close
        %>
        <a href="test1.xml">長沙斌網(wǎng)網(wǎng)絡(luò)請(qǐng)您 查看XML文件內(nèi)容</a>



        相關(guān)熱點(diǎn)文章


        地址:長沙市韶山南路248號(hào)南園503室(瀟湘晨報(bào)旁)  網(wǎng)站ICP備案號(hào):湘ICP備09008272號(hào)  版權(quán)所有:長沙斌網(wǎng)網(wǎng)絡(luò)工作室
        咨詢電話:0731-88571521   136-3748-2004
        業(yè)務(wù) QQ:客服一 1306053142 客服二 1320506001 技術(shù)/售后 522392221 高級(jí)顧問 44377655
        服務(wù)郵箱:fanbin@binweb.cn   522392221@qq.com
        官方網(wǎng)址:www.boundlesssupremacy.com   www.pk0731.com
        旗下網(wǎng)站:斌網(wǎng)網(wǎng)絡(luò)  長沙信息處  佛佛網(wǎng)  曬土貨網(wǎng)

        国产乱妇无码大片在线观看| 精品中文高清欧美| 最近最新中文字幕完整版| 久久久久亚洲AV无码专区体验| 在线综合+亚洲+欧美中文字幕| 国产久热精品无码激情| 一本本月无码-| 亚洲中文字幕无码久久综合网| 丰满少妇人妻无码| 亚洲国产精品无码久久久秋霞2 | 无码人妻AV免费一区二区三区 | 亚洲毛片网址在线观看中文字幕| 特级小箩利无码毛片| 久久久无码精品亚洲日韩蜜臀浪潮| 中文字幕精品无码久久久久久3D日动漫 | 亚洲?v无码国产在丝袜线观看| 精品无码国产一区二区三区AV| 麻豆AV无码精品一区二区| 无码人妻精品中文字幕| 亚洲人成无码网WWW| 国产成人无码av片在线观看不卡| 无码专区狠狠躁躁天天躁| 中文字幕人妻无码一区二区三区| 无码人妻少妇久久中文字幕| а中文在线天堂| 欧美激情中文字幕综合一区| 波多野结衣中文字幕久久| 亚洲中文字幕无码久久2017| 亚洲中文字幕无码爆乳av中文 | 亚洲开心婷婷中文字幕| 亚洲精品无码你懂的网站| 亚洲 另类 无码 在线| 99在线精品国自产拍中文字幕| 亚洲人成无码网WWW| 中文字幕在线精品视频入口一区 | 中文字幕人妻无码系列第三区| 亚洲日韩精品无码专区网站| 综合无码一区二区三区| 中文字幕久久久久人妻| 最近高清中文字幕免费| 无码丰满熟妇juliaann与黑人 |