BindingContext???
-
Hello all, Here's my situation: I have a form with a listbox and a textbox, both related 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 in the click event of the listbox: 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?
-
Hello all, Here's my situation: I have a form with a listbox and a textbox, both related 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 in the click event of the listbox: 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?