Tacec
Member
Hello,
I know this is a fairly simple process, but i can't seem to find anything to help me. I have a combobox with a list of values (non bound). I have a textbox. I want the value when selectedvaluechanged in the combobox to populate the textbox and keep appending to the textbox whenever another item is selected in the combobox. Each item listed in the textbox needs to be separated by commas.
Fairly straightforward, right? I can't find any code for vb, only c#. The basic for what i have is just combobox.text = textbox.text. But it's the append part that's got me.
I know there must be a foreach loop in there or something but I'm pretty new to vb.net so i'm struggling here. Any help would be greatly appreciated!
Thanks
I know this is a fairly simple process, but i can't seem to find anything to help me. I have a combobox with a list of values (non bound). I have a textbox. I want the value when selectedvaluechanged in the combobox to populate the textbox and keep appending to the textbox whenever another item is selected in the combobox. Each item listed in the textbox needs to be separated by commas.
Fairly straightforward, right? I can't find any code for vb, only c#. The basic for what i have is just combobox.text = textbox.text. But it's the append part that's got me.
I know there must be a foreach loop in there or something but I'm pretty new to vb.net so i'm struggling here. Any help would be greatly appreciated!
Thanks
Last edited: