在VS2013中在.rdlc报告文件中使用Sharepoint数据源 [英] Using a sharepoint datasource in .rdlc report file in VS2013

查看:57
本文介绍了在VS2013中在.rdlc报告文件中使用Sharepoint数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'm basically banging my head against a wall here.

我有一个共享点列表,我希望将其作为.rdlc文件中的数据源.因此,我转到添加数据集",为其命名,然后选择新建".创建一个新的数据源. VS引导我完成创建新数据源的操作,然后在完成后显示为 服务参考,我可以在代码中使用它.

I've got a sharepoint list that I want as a datasource in a .rdlc file. So I go to "Add Dataset", name it, then select "New" to create a new datasource. VS walks me through creating a new datasource, then when I'm finished it shows up as a Service Reference and I can use it in code.

现在,烦人的部分.它仍然没有显示在下拉列表中.不管创建数据源多少次或将报表放置在什么位置,它都拒绝承认此新数据源的存在并且不会让我使用它.

Now, the annoying part. It still doesn't show up in the drop-down list. It doesn't matter how many times I create the datasource or where I put the report, it refuses to acknowledge the existence of this new datasource and doesn't let me use it.

任何和所有帮助将不胜感激.如果您需要更多信息,请告诉我.

Any and all help would be appreciated here. If you need more information, let me know.

推荐答案

请按照以下步骤操作:

1.创建数据集和新的数据源,选择"SharePoint".然后添加服务参考.

1. Create Dataset and new Data Source, select "SharePoint". Then add service reference.

2.新数据源,然后选择对象",然后选择新添加的服务引用.

2. New Data Source and select "Object", and then select the new added service reference.

3.新数据集,然后我们可以在下拉列表中看到数据源"并选择一个可用的数据集.

3. New Dataset, then we can see the Data Source in drop down list and select an available datasets.

最好的问候,

丹尼斯


这篇关于在VS2013中在.rdlc报告文件中使用Sharepoint数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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