我是靠谱客的博主 心灵美芝麻,这篇文章主要介绍FastReport ds:Table is not connected to the data.Register the data using Report.RegisterData method.,现在分享给大家,希望可以做个参考。

FastReport 绑定数据源时除了报表中每一个字段都不能少,字段名都要一样之外。绑定的数据源的名称也要一致,另外在字典的结构中,TableDataSource节点的Name属性跟ReferenceName也要保持一致,否则程序会捕捉到异常。
错误写法如图,这样的写法有误。
catch异常
正确的写法应为
正确写法
这样就OK了

最后

以上就是心灵美芝麻最近收集整理的关于FastReport ds:Table is not connected to the data.Register the data using Report.RegisterData method.的全部内容,更多相关FastReport内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部