Author: Dekaiden | Posted on: 11/19/2008 6:59:53 PM | Views : 296

I have a few rather interesting querks, however, I'll start with the most important one:
I have two ListBox Controls right next to each other with buttons between them for adding and removing. Basic principal: if it's in one, it can't be in the other. All that is working just fine. However, when there is ONLY one item in one of the boxes, it throws an error (explained later). Basically what is going on is on the left ListBox they have all the possible choices. On the right side is all of the choices they have already picked (if any). The two ListBoxes are populated with a DataSource done by Visual Studio. Here's what I'm working with:
 
1 Dim conn As New SqlConnection(MY SQL DATABASE)
2 Dim myCommand As SqlCommand
3 Dim ...

Go to the complete details ...