Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralTcpClient.Close Pin
monrobot1327-Feb-03 13:51
monrobot1327-Feb-03 13:51 
GeneralRe: TcpClient.Close Pin
monrobot1328-Feb-03 3:18
monrobot1328-Feb-03 3:18 
GeneralRe: TcpClient.Close Pin
James T. Johnson28-Feb-03 4:54
James T. Johnson28-Feb-03 4:54 
GeneralDeploying an app w/ DB connectivity Pin
Eric VanWieren27-Feb-03 12:36
Eric VanWieren27-Feb-03 12:36 
GeneralRe: Deploying an app w/ DB connectivity Pin
Danny Blanchard5-Mar-03 20:38
Danny Blanchard5-Mar-03 20:38 
GeneralWeb service client apps docs Pin
gadgetfbi27-Feb-03 10:21
gadgetfbi27-Feb-03 10:21 
QuestionHow to save the TreeView content Pin
j-hannemann27-Feb-03 9:26
j-hannemann27-Feb-03 9:26 
AnswerRe: How to save the TreeView content Pin
jtmtv1827-Feb-03 11:07
jtmtv1827-Feb-03 11:07 
when you are saving the nodes on your treeview does it matter how they are saved? as in does order matter? or anything like that ?
if none of that is of concern...(just guessing here) you could use a foreach statement to parse through each node, and then just save the text of the node.

exsample :
<br />
<br />
foreach(TreeNode treenode in treeView.Nodes){				//MessageBox.Show(s.Text); just to see it.<br />
  //now you have a treenode for each node in your treeview so all you have to do is write treenode.Name to a string[] or something and then write it to a file<br />
}<br />


Good Luck

Jesse M

The Code Project Is Your Friend...
GeneralRe: How to save the TreeView content Pin
j-hannemann27-Feb-03 20:20
j-hannemann27-Feb-03 20:20 
AnswerRe: How to save the TreeView content Pin
Furty27-Feb-03 15:25
Furty27-Feb-03 15:25 
GeneralRe: How to save the TreeView content Pin
j-hannemann27-Feb-03 20:14
j-hannemann27-Feb-03 20:14 
GeneralImage on ListView control's column header Pin
newneo27-Feb-03 8:58
newneo27-Feb-03 8:58 
GeneralRe: Image on ListView control's column header Pin
Furty27-Feb-03 15:10
Furty27-Feb-03 15:10 
GeneralChange icon on custom control Pin
Anonymous27-Feb-03 7:23
Anonymous27-Feb-03 7:23 
GeneralRe: Change icon on custom control Pin
leppie27-Feb-03 8:55
leppie27-Feb-03 8:55 
GeneralRe: Change icon on custom control Pin
Anonymous27-Feb-03 9:44
Anonymous27-Feb-03 9:44 
GeneralRe: Change icon on custom control Pin
Furty27-Feb-03 15:07
Furty27-Feb-03 15:07 
GeneralTreeView OwnerDraw: WndProc(...) How to get item information like ItemRectangle, ItemText, Focused Pin
STW27-Feb-03 6:28
STW27-Feb-03 6:28 
GeneralRe: TreeView OwnerDraw: WndProc(...) How to get item information like ItemRectangle, ItemText, Focused Pin
leppie27-Feb-03 9:08
leppie27-Feb-03 9:08 
GeneralRe: TreeView OwnerDraw: WndProc(...) How to get item information like ItemRectangle, ItemText, Focused Pin
STW28-Feb-03 3:10
STW28-Feb-03 3:10 
GeneralInternet date and time Pin
Bjornar Henden27-Feb-03 5:35
Bjornar Henden27-Feb-03 5:35 
GeneralRe: Internet date and time Pin
David Stone27-Feb-03 7:45
sitebuilderDavid Stone27-Feb-03 7:45 
GeneralRe: Internet date and time Pin
Bjornar Henden27-Feb-03 8:26
Bjornar Henden27-Feb-03 8:26 
GeneralRe: Internet date and time Pin
Maq28-Feb-03 0:46
Maq28-Feb-03 0:46 
GeneralRe: Internet date and time Pin
Bjornar Henden2-Mar-03 7:57
Bjornar Henden2-Mar-03 7:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.