本文转载:http://www.cnblogs.com/VincentLuo/archive/2012/01/06/2313983.html 一.设置载请保留地址http://www.cnblogs.com/vincentluo 使用dev的树控件(XtaTreeList)来显示有父子关系的分类, 数据库表中只要三列:ParentID,CategoryID,CategoryName: 将控件的属性ParentFieldName设置为ParentID,属性KeyFieldName设置为Catego…