Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how do save data of treeview which have check parent or child in C# windows form ?
Posted
Comments
DamithSL 22-May-15 1:58am    
where you want to save and what have you tried so far?
Sinisa Hajnal 22-May-15 4:11am    
Please explain the problem in more details and show what you've tried to do. Thank you

1 solution

You can save the data in text box to some file:
C#
private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
   txtSelectedNode.Text = treeView1.SelectedNode.Name;
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900