Hi, I am a new programmer of vb.net.
My combobox1 has a value of name1, name2, name3,
and i want that if the user already choose name1, he/she cant re use that name1 again. and that is autosaved to sql database.
help me please!

well if some one select a value after saving it in database , remove it from combo so that no one can select it again.

The poll question does not jive with the choices.

Help me?
o Like
o Dislike

Hi, I am a new programmer of vb.net.
My combobox1 has a value of name1, name2, name3,
and i want that if the user already choose name1, he/she cant re use that name1 again into combobox2. and that is autosaved to sql database.
help me please!

You can remove the selected item from the combobox by

ComboBox1.Items.RemoveAt(ComboBox1.SelectedIndex)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.