Hi,
I'm use a table for store my menu nodes :
MenuID-------MenuName------ParentID
1----------------name1------------0
2----------------name2------------0
3----------------name1-2----------2
4----------------name2-2----------3
5----------------name3------------2
I was showed this node with treeview, now i want remove node was selected and all its childs if exits. indeed,i don't know how i can get id of node's childs. my menu is n level.
I thought that I must use recursive function to find MenuIds, but I
can't do it.
help me plz.
thanks