Results 1 to 10 of 10

Thread: [RESOLVED] XML Writer - Loop through treeview

Threaded View

  1. #1

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Resolved [RESOLVED] XML Writer - Loop through treeview

    Ola,

    I have a treeview with a couple of rows + cells. How do I loop through the treeview so it creates the XML.

    Code:
       <myxml>
          <name><&#37;=mytreeview.cells(1).text %></name>
          <description>A fixed description</description>
          <myval>
            <values><%=mytreeview.cells(2).text & ", " & <%=mytreeview.cells(3).text %></values>
          </myval>
        </myxml>
    so it should create a new within the xml for each row.
    Code:
       <myxml>
          <name>bla</name>
          <description>A fixed description</description>
          <myval>
            <values>bla, bla</values>
          </myval>
        </myxml>
    I hope someone understands what I'm trying to do.

    Thanks in advance.
    Last edited by Radjesh Klauke; May 22nd, 2012 at 02:44 PM.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width