DevExpress A field with the name '' was not found on the selected data source.

绑定控件时发现的错误,找了很久终于找到原因了,可能也是大家没注意的地方,希望能给大家带来一些帮助。

自己在找的时候发现,明明是有的。

结果应该是这样的  上面定义实体类的字段写法有缺陷

这样再重新编译运行后就不会出错了。

原文地址:https://www.cnblogs.com/aehyok/p/2633584.html