private void TreeList1_FocusedNodeChanged(object sender, DevExpress.XtraTreeList.FocusedNodeChangedEventArgs e) { if (e.Node.ParentNode == null) { RefreshMember(); } else { string level = e.Node.GetValue(0).ToString(); DataTable dt = SelectDao.GetMemberGroupByLevel(level); this.gridControl1.DataSource = dt; this.gridControl1.RefreshDataSource(); } }