O
OldNewbie
Hello All
I have a textbox control. I would like this text box to automatically
update to contain the currently selected item located in a listbox
which is on the same form.
Do I need a CurrencyManager for this? Can this be done just by
manipulating the databindings properties of the textbox? If so, please
do give me some hints as to the syntax I would use to fill in that
field on the property panel - everything I try is rejected.
Disclaimer: No this is NOT my homework. I'm 45 years old, new to
CSharp and quite capable of digging most things up on the net for
myself. I just cannot seem to make this work. A few code snippets
would be much appreciated. Obviously I could code a manual procedure
for this - but hey CSharp is supposed to automate this sort of thing
(I think) and I wanna know how its done. I have seen all of the
dataset binding examples - nothing seems to work on the listbox to
textbox pair.
Cheers
Old Newbie
I have a textbox control. I would like this text box to automatically
update to contain the currently selected item located in a listbox
which is on the same form.
Do I need a CurrencyManager for this? Can this be done just by
manipulating the databindings properties of the textbox? If so, please
do give me some hints as to the syntax I would use to fill in that
field on the property panel - everything I try is rejected.
Disclaimer: No this is NOT my homework. I'm 45 years old, new to
CSharp and quite capable of digging most things up on the net for
myself. I just cannot seem to make this work. A few code snippets
would be much appreciated. Obviously I could code a manual procedure
for this - but hey CSharp is supposed to automate this sort of thing
(I think) and I wanna know how its done. I have seen all of the
dataset binding examples - nothing seems to work on the listbox to
textbox pair.
Cheers
Old Newbie