1

Be easy on me I am a recent college grad working on my first industry project. I built the app using 2012 and had to build on 2010. i have a combobox set to get the values from a database I access through VPN. The server has many different databases on it and every time I set the connection in 2010 it never gives me the option to access the any of the databases. Steps taken: Restarted program. Searched this site religiously. Tried multiple different connections.

I know there are other ways to get data into a combobox but I was using the configuration wizard vs 2010 offers to set up my connection. This is where the two versions of vs differ for some reason. 2012 let me view all the databases on the server. 2010 did not it automatically put me on master which gives me no way to access another db.

Here is vs 2010 This is all the connection shows me

19
  • 2
    Please post your code - nobody here (that I know of) have crystal balls or can read minds :) Commented Oct 23, 2013 at 15:46
  • 4
    Please show your database connection. Where do you read it from? Commented Oct 23, 2013 at 15:46
  • 1
    Are you getting an error? Should we assume that "2010" and "2012" refer to versions of Visual Studio? Commented Oct 23, 2013 at 15:47
  • Please explain more. What do you mean by set the connection? Tried multiple different connections. We need to know what you are actually doing. Commented Oct 23, 2013 at 15:48
  • 1
    One thing of note is that you should not be blocking on this because the latter half of the application depends on the combobox. Until you get a solution you should be able to put static values in to have a working combobox. You should only be blocking on parts where the database is critical. So for example in your data layer where you are currently trying to access the database just return your own datasets and then hook it up to the database when you get that working. Commented Oct 23, 2013 at 15:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.