摘要:
DevExpress.XtraTreeList.TreeList treeList = new DevExpress.XtraTreeList.TreeList();
//绑定数据源
treeList.DataSource = dt;
//记录当前选中节点
TreeListNode node = treeList.FocusedNode;
//重新绑定数据源
treeList.DataSource = dt;
//选中指定行
if (node != null)
{
//根据旧节点找到新节点,有三种方法:
//treeList .FindNodeByID (int nodeID);
//treeList .FindNodeByFieldValue (stri 阅读全文