SelectedIndexChanged click item listbox database
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all, Here's my situation: I have a form with a listbox and a textbox, both with the same collumn of a databasetable. When i click an item in the listbox i want the textbox to show the item as well. I tried the following code: Me.BindingContext(dsGroepAgent, "groep").Position = lstgroepen.SelectedIndex When i click an item in the listbox the following error occured: An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll Any idea