protected void GetAllNodeText()
{
foreach (TreeNode node in TreeView1.Nodes)
{
if (node.Text == "用户管理" && Session["username"].ToString() != "admin")
{
node.ChildNodes.Clear();
}
}
}
遍历 Treeview
最新推荐文章于 2023-11-21 17:01:57 发布