Can't add Sql Compact 4.0 as Datasource on RDLC

徘徊边缘 提交于 2020-01-06 08:09:05

问题


i want to add on a report (*.rldc) a DataSource that is an Sql Compact 4.0, but it doesn't give me the option to add it, but i can add on Server Explorer an Sql Compact 4.0 connection.

What do i need to accomplish this?


回答1:


You can use DataTable / DataSet to Bind Records from you SQL CE to your Local report.

Just Click Add New item then choose DataSet and select you sqlce database on your server explorer.

This may help you to start of:

Building Reports from Object Collection using ReportViewer

ReportViewer

Regards




回答2:


VS 2010 needs a patch to get support for editing SQL CE 4.0 databases. you can get it through Web PI.



来源:https://stackoverflow.com/questions/8425551/cant-add-sql-compact-4-0-as-datasource-on-rdlc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!