首页 > TAG信息列表 > dtSlt

C# TreeView、树结构存储、树节点查找

//获取树结构的科目public class GetSubjectTree{ public static List<TreeNode> GetTree(DataTable dt, DataTable _SubjectPopedom) { List<TreeNode> listNodes = new List<TreeNode>(); foreach (var type in dt.Select("Subjectpid=&