Hi all,
I was always a bit confused about how to create a recursive function, so thats where i need you help. :)
I have a treeview, in wich the user adds/removes dynamicaly nodes and a button wich should save the treeview structure in a database table when clicked. The thing is, that the depth is not known, so i need a way that i can get all-depth nodes and save the whole Treeview structure. I thought that i need a recursive function, but if you have any better solution, be my guest. :P
Thanks in advance,
Alex