RepositoryItemLookupEdit 不从数据库填充数据

问题描述

我有一个树列表。其中一列是repositoryitemlookupedit。我已将数据保存到数据库中。在尝试加载数据时,treelist 中的其他列正在显示,但 lookupedit 不显示数据。 请帮忙。

我的代码

tListISS.Nodes[intI][0] = dtgtab76.Rows[intI]["PartyId"];//This is value member
 tListISS.Nodes[intI][1] = dtgtab76.Rows[intI]["PName"];    //  This is display member

dtgtab76 是包含树列表数据的数据表

// bindAccount()

luAccount.ValueMember="AcId";
 luAccount.displayMember = "Account";

在调试时发现数据在 tListISS.Nodes[intI][1] 中。但不显示

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)