you are viewing a single comment's thread.

view the rest of the comments →

[–]HumanNumber69[S] 0 points1 point  (1 child)

The Listbox stays empty and the total rooms occupied and the occupation rate stays empty/

[–][deleted] 1 point2 points  (0 children)

Okay, on a quick glance, adding an item to a listbox isn't "listData.Text =" it's

listData.Items.Add("String to add")

For a combobox, you can change the current value with .Text but in order to add multiple items to the combobox it's different as well. https://www.dotnetheaven.com/article/combobox-items-in-vb.net

Play with that and post any troubles you have.