顺德设计
当前位置:网站建设 >> 网页设计教程 >> Flash处理外部XML文档数据

Flash处理外部XML文档数据

[来源:来自网络] [作者:68design] [日期:08-04-05] [热度:]
ChooseFlash-05.4                     http://www.happiness04.com                         4
ChooseFlash-05.5                     http://www.happiness05.com                         4
ChooseFlash-05.6                     http://www.happiness06.com                         4
ChooseFlash-05.7                     http://www.happiness07.com                         4

数据库到这可以了.下面是ASP:

打开记事本,输入下面的代码,然后保存为 xml-008.asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'xml-008.asp
dim conn,rs,sqlcom,name_arr,index_arr
'设置文档类型.
Response.ContentType="text/xml"
'输出XML文档.
Response.Write("<?xml version='1.0' encoding='gb2312'?>")
Response.Write("<!--xml-008.asp-->")
Response.Write("<ColumnList>")
'创建连接对象.
Set conn=Server.CreateObject("Adodb.Connection")
'这里用字符串方法连接数据库.
'"Provider=Microsoft.Jet.OLEDB.4.0; 这个是数据库驱动.
'Data Source="Server.MapPath("Data.mdb") 数据库文件的相对路径.



  关于站点
| 联系站长 | 百度xml | 友情链接 | 网站地图 | 粤ICP备07500705号
                 ©2008 维克斯媒体传播 版权所有