如何通过ASP建立XML格式文档?

2007-8-9

<%

set conn=server.createobject("adodb.connection")

conn.open applicatio("connstring")

set rs=server.createobject("Adodb.recordset")

sql="select * from table order by id desc"

rs.open sql,conn

do while not rs.eof

   msg=msg & rs("字段1") & chr(9) & rs("字段2) & vbcrlf

   rs.movenext

loop

set f=server.createobject("scripting.filesystem")

set myfile=f.createotextfile(mappath.server(xmllover.xls),true)

%>

已生成xmllover.xls

技术支持



服务在线

市场部:

Contact Us.
联系我们!

客服: 1131099230
销售部:

Contact Us.
联系我们!

客服: 1151480445
企划部: Contact Us.
联系我们! 客服: 1134615268
技术部: Contact Us.
联系我们! 客服: 1131412366

热线电话:

0516-83712388  82861699
客户留言

查看留言



友情链接: 都市信息报 今日徐州 徐州人防(民防)网 中国淮海网 徐州古彭地下商场

Copyright©2006-2010 徐州华旗投资管理有限公司 All Rights Reserved.
公司地址:江苏省徐州市解放北路2号汇源置地广场1510室
电话:0516-8371 2388 邮箱:Support@hq010.net
苏ICP备09084468号