如何从 DevExpress LookupEdit 获取选定的值?
大家好, 我在 C#.NET 项目中使用 DevExpress LookupEdit,还设置了 LookupEdit 的 Display Member 和 Value 成员属性。如何从 DevExpress LookupEdit 获取选定的值。
谢谢
Hai all,
Am using DevExpress LookupEdit in C#.NET project,also set both Display Member and Value member property of LookupEdit.How do I get selected value from DevExpress LookupEdit.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该使用lookupEdit.EditValue 属性。如果需要获取编辑器的 DisplayText,请使用其 Text 属性。
You should use the lookupEdit.EditValue property. If you need to obtain the editor's DisplayText, use its Text property.