“数据源”窗口未与项目的“数据集”同步 [英] Data Sources window is not synchronizing with the project's Dataset

查看:67
本文介绍了“数据源”窗口未与项目的“数据集”同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2015社区版...在我的项目中,我有数据集未显示在"数据源"窗口中。如果我创建新的数据集,则"数据源"窗口将更新,并且将添加新创建的数据集。但是我的项目中其他数据集发生了什么
?为什么它们不会显示在"数据源"窗口中?

I'm using Visual Studio 2015 Community Edition... In my project, I have Datasets that do not show up in the Data Sources window. If I create a new Dataset, the Data Sources window will update and the newly created dataset will be added. But what happened to the other datasets in my project? Why they won't show up in the Data Sources window?

在上面的示例图中,我有一个名为"PaymentDS"的数据集但是它不会显示在"数据源"窗口中。我尝试刷新窗口,重建项目,打开关闭VS工作室,但它仍然是相同的。有没有遇到过这个?

In the example image above, I have a Dataset named 'PaymentDS' but it does not show up in the Data Sources Window. I tried refreshing the window, rebuilding the project, open close VS studio but it is still the same. Anyone encountered this before?

推荐答案

Hi Maester Seymour,

Hi Maester Seymour,

只需右键单击您的项目,重新添加一个新项目(Dataset),结果怎么样?你能在数据源窗口看到它吗?如果有,我认为它与之前的xsd文件有关。

Just right click your project, re-add a new item(Dataset), how about the result? Could you see it in your data source window? If it has, I think it would be related to the previous xsd file.

请检查它是否遗漏了'PaymentDS'下拉列表中的某些文件。

Please check that whether it has miss certain files under the dropdown lists for the 'PaymentDS'.

如果没有在Designer.cs文件中,它不会显示在数据源窗口中。

If it has no the Designer.cs file, it would not be showed in the Data source window.

如果仍然没有帮助,我建议你重新创建一个。

If still no help, I suggest you re-create one.

最诚挚的问候,

杰克


这篇关于“数据源”窗口未与项目的“数据集”同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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