无法将Sql Compact 4.0添加为RDLC上的数据源 [英] Can't add Sql Compact 4.0 as Datasource on RDLC

查看:69
本文介绍了无法将Sql Compact 4.0添加为RDLC上的数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要添加报告(* .rldc) DataSource Sql Compact 4.0 ,但是它没有给我添加选项,但是我可以在Server Explorer中添加Sql Compact 4.0连接。

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.

我需要做些什么?

推荐答案

您可以使用DataTable / DataSet绑定SQL CE中的记录

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

只需单击添加新项,然后选择数据集,然后在服务器资源管理器中选择sqlce数据库。

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

这可以帮助您开始:

使用ReportViewer从对象集合构建报告

ReportViewer

问候

这篇关于无法将Sql Compact 4.0添加为RDLC上的数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆