コード例 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        List <TreeNode> treeList = new List <TreeNode>();

        SysManage sysManage = new SysManage();

        treeList = sysManage.qryHeadOrganTree();

        headOrganJson = BeanTools.ToJson(treeList);

        if (null != BeanTools.ToJson(treeList))
        {
            headOrganJson = System.Text.RegularExpressions.Regex.Replace(headOrganJson, "isChecked", "checked");
        }
    }