Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 540
Crowcoder Avatar asked Dec 09 '10 15:12

Crowcoder


1 Answers

have you checked the namespace of your project and dataset's designer class? make sure both are same ...

like image 108
Safran Ali Avatar answered Sep 18 '22 23:09

Safran Ali