将数据写入xml文件(附加) [英] writing data into xml file(append)

查看:443
本文介绍了将数据写入xml文件(附加)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi all in my application i want to write  some data into xml file below format,

<table>
<menu id="25" engName="KFF CHANGE TRANSACTION" arName="" url="../private/showrecords.aspx" parentc="19" sIcon="../images/imgslide/notebook_o.gif" icon="../images/imgslide/notebook.gif" ord="a1">
</menu>
</table>

how to do this

this is my code

        Dim oXmlrootnode As XmlNode = oxmldocument.SelectSingleNode("table")
        Dim oxmlrecordnode As XmlNode
        oXmlrootnode.AppendChild(oxmldocument.CreateNode(XmlNodeType.Element, "menu", "")).InnerText = "id=25"

推荐答案

check出这个

http://forum.coolwebawards.com/threads/119-Write-XML-using- VB.NET [ ^ ]
check out this

http://forum.coolwebawards.com/threads/119-Write-XML-using-VB.NET[^]


这篇关于将数据写入xml文件(附加)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆