如何将XML数据存入ACCESS数据库
请问各位大师,我现在需要将XML的数据实时的存入到数据库中,我是用asp编的程序,大量们帮忙分析 一下!!!
下面是我的XML文件代码
XML code:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="inc/sq.xsl"?>
<Information>
<Station>
<Company>长江</Company>
<name>99站</name>
<inflow>30200</inflow>
<outflow>30200</outflow>
<reslevel>147.72</reslevel>
<output>17190</output>
<time>2009-08-23 8:00:00</time>
</Station>
<Station>
<Company>黄河</Company>
<name>33电站</name>
<inflow>30200</inflow>
<outflow>25600</outflow>
<reslevel>65.5</reslevel>
<output>17789</output>
<time>2009-08-24 8:01:00</time>
</Station>
</Information>
access不支持xml文件类型,只能读出来xml数据用循环insert进access
要不就设为大字段来当字符串存,SQL2005里有XML类型的字段!
这个能不能说详细点啊,我没有做过,有详细的代码就好了
这个能够判断当前的XML文件更新后,就来循环的将数
相关问答:
IsSqlDataBase = 0 '主数据库类型(1=SQL,0=AC)
'===========================================================================
SqlDatabaseName = "ads365" '主数据库名
S ......
表结构:
ProductSeriesID 自动编号
ProductSeriesName 文本
ProductSeriesRemark 备注
执行前
ProductSeriesID ProductSeriesName ProductSeriesRemark
2 LV铣刀系列 LV铣刀系列
3 钨钢舍 ......
我目前表的排列是上面这张图这情况:
我希望调整成:
如何做呢?
刚才试了下,点“开始”--“视图”--“设计视图”不行
PS:我用的是access 2007,上面这个表是mdb格式的
主菜单, 视图 ......
我的一个access数据库中的photo字段中的内容是这样的:
|/UpFiles/Picture/admin/200910162300187612.jpg|/UpFiles/Picture/admin/200910162300187612.jpg||||/UpFiles/Picture/admin/200910162300187612.jpg ......
如何将Excel数据导入Access数据库?
表名:crk
End_rbody_60447848//-->
该回复于2009-10-19 10:44:48被管理员删除
对我有用[0]
丢个板砖[0]
引用
举报
管理
TOP
......