首先看你的树状结构是如何存储的
pid,id
还是
rootid,id,level,order
?如果直接使用treeview,移动是很简单的事情