可以用DataView读取DataSet里的内容,写成树状XML文件

解决方案 »

  1.   

    怎么写法呢,递归算法我知道怎么添加到TreeView
    但是如何写到xml形成上面格式>>
      

  2.   

    How to load a tree view with a large XML file
    http://www.codeproject.com/soap/xmltreeview.asp?target=xml%7Ctree
      

  3.   

    http://www.csdn.net/Develop/read_article.asp?id=26150
    http://www.csdn.net/Develop/read_article.asp?id=26151
      

  4.   

    我要求是写文件到xml,并非load xml到treeview
      

  5.   

    up,,没有弄明白
    polarlm(今年本命年) ,他写的太乱啦..看的有点晕..
      

  6.   

    如果使用XmlDocument来做的话.可以实现,
      那位高手使用手工方式来写出字符格式出来..我想研究一下算法
      

  7.   

    http://www.codeproject.com/cs/miscctrl/treeviewtutorial.asp
      

  8.   

    请教一下
    如何使用XmlElement
    构造这样一来的xml 
    <node name="a" url="http://www.x.com" >bb</node>
      

  9.   

    问题基本解决,
    1,使用递归算法,加+XmlDocument +XmlElement来设计xml树文件
    2.参数可以使用SetAttribute("TextValue",Row["name"].ToString());来实现
      

  10.   

    一种从数据库利用xml创建树型目录的方法(C#):
    http://www.aspx8.com/teach/list.asp?id=261
    http://www.aspx8.com/teach/list.asp?id=262收工,接分。