User Profile

Collapse

Profile Sidebar

Collapse
Aleksandr
Aleksandr
Last Activity: Feb 27 '14, 07:28 PM
Joined: Feb 8 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Following code is work well:
    Code:
    private void buttonSave_Click(object sender, EventArgs e)
            {
                TraverseTreeView(treeView1);
                string temp = String.Empty;
                foreach (string str in name)
                    temp += str + Environment.NewLine;
                MessageBox.Show(temp);
                name.Clear();
            }
            List<string> name = new List<string>();
    ...
    See more | Go to post

    Leave a comment:


  • Aleksandr
    started a topic TreeView to database or at least DataTable

    TreeView to database or at least DataTable

    The main question how to fully traverse/circumvent through all TreeView, for transforming Tree structure into a Table structure.
    I want to note that the TreeView may contain a different number of branches, with different depths and different names.
    I found a lot of information how to populate TreeView e.g. from DataTable, but I didn’t found information how to recursively traverse/circumvent a TreeView and populate/fill data e.g. to...
    See more | Go to post
No activity results to display
Show More
Working...