View Single Post
  #9 (permalink)  
Old December 14th, 2014, 12:52 PM
Cryotic Cryotic is offline
Registered User
Points: 27, Level: 1
Points: 27, Level: 1 Points: 27, Level: 1 Points: 27, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2010
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default

Im getting the same error as someone else did: "InvalidArgument=Value of "0" is not valid for 'SelectedIndex'.

http://i.imgur.com/h6LdKRC.png
http://i.imgur.com/G4d8ywS.png
http://i.imgur.com/HOkY1jK.png

I've tried the following suggestions:
- cmbServer.Items.Add(serverName +"\\" + row["InstanceName"]);
- Changed configuration to Net 3.5 with and without x86:
http://i.imgur.com/SL6xoR4.png
http://i.imgur.com/fMx922X.png

Anyone have any suggestions?

"If I manually add an item to the combobox with my servername: ""(localdb)\MSSQLLocalDB" I'm able to connect and get the Cards database to show in the combobox on the form.

Last edited by Cryotic; December 14th, 2014 at 12:54 PM..