Click here to Skip to main content
15,897,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know how to make a domainupdown show a different set of items with a click of a button. How do I do that? BTW, I use VB.Net.
Posted

I must be missing something... this question seems too simple... but:

With:

VB
DomainUpDown1.items.Clear()
DomainUpDown1.items.Add("A new item")


...Or am I really missing something?
 
Share this answer
 
VB
With DomainUpDown1
.Items.Clear()
.Items.Insert("[Insert Text Here]")
End With
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900