foreach (TreeNode parent in TreeView1.Nodes) { foreach (TreeNode child in parent.ChildNodes) { if (child.Checked) { parent.Value //for the Parent Nodes values. child.Value // for the Child Nodes values. } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)