无法找到连接或数据提供者 [英] Unable to find connection or data provider

查看:73
本文介绍了无法找到连接或数据提供者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试重新配置tableadapter的fill / get时,我收到如下信息

when I tried to reconfigure a tableadapter's fill/get, I get the message like below

---------------- -----------
$
Microsoft Visual Studio

-------------------- -------

无法为对象"设置"找到连接'myConnectionString'。在应用程序设置中找不到连接字符串,或者无法加载与连接字符串关联的数据提供程序

------------------ ---------

OK  

---------------------------

---------------------------
Microsoft Visual Studio
---------------------------
Unable to find connection 'myConnectionString' for object 'Settings'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded
---------------------------
OK  
---------------------------

找到myConnectionString应用程序设置为有效的conectionstring

myConnectionString is found in application setting as valid conectionstring

当我使用文本Xml编辑器编辑相关的datset.xsd时,我确实找到了带有相关信息和提供者的MyConnectionString。

when I edit the relevant datset.xsd with text Xml editor, I do find the MyConnectionString with relevant info and provider.

MyConnectionString在运行时成功使用

the MyConnectionString is used successfully in runtime

我错过了什么?

推荐答案

您好,

如何在设置中配置连接字符串?你如何在你的代码中使用它?

How do you config the connection string in the Settings? And how do you use it in your code?

我担心你需要提供一些代码来获取更多细节。

I'm afraid you need to provide some code for more details.

问候,

Frankie


这篇关于无法找到连接或数据提供者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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