TableAdapter wizard does not have connection string from Settings in pick list
C# VS 2010 .net v4.0
I add a DataSet to my project (Class Library) and when I try to add a TableAdapter the connection string that I have added to Settings is not available to select. I have connection strings for other datasources (from server explorer) available. I can't use a work around, I NEED to pull the connectionstring from Settings. I do this same thing in many other projects and it usually works, though sometimes I just do random things until I can finally see my connection string. I was hoping the upgrade to vs2010 would fix this. Hopefully someone has seen this and can help, thanks.
have you checked the namespace of your project and dataset's designer class? make sure both are same ...
I had the same issue with vb.net, .net 3.5 and sql 2008. What I did to resolve the issue was go to event viewer and clear the application log. My application log was full. Once I cleared the log I could add and view data connections.
I had the same issue. I solved my problem by removing and old reference to the System.dll in the csproj file. screen capture
链接地址: http://www.djcxy.com/p/49212.html上一篇: ILMerge +本地化资源程序集