public string Dep_Id(TreeNode tn,string dep_Val)
{
string str_Sep = ",";
TreeNodeCollection tnc = tn.ChildNodes;
dep_Val = tn.Value;
foreach (TreeNode cur_Tn in tnc)
{
dep_Val = dep_Val + str_Sep + cur_Tn.Value;
Dep_Id(cur_Tn,dep_Val);
}
return dep_Val;
}