Advertisement
Guest User

Untitled

a guest
Nov 8th, 2017
801
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.42 KB | None | 0 0
  1. ComboBox2.Items.Clear()
  2.         Select Case ComboBox1.Text
  3.             Case "Laptop"
  4.                 ComboBox2.Items.Add("Lenovo")
  5.                 ComboBox2.Items.Add("Asus")
  6.                 ComboBox2.Items.Add("Vaio")
  7.             Case "Handphone"
  8.                 ComboBox2.Items.Add("Xiaomi")
  9.                 ComboBox2.Items.Add("Samsung")
  10.                 ComboBox2.Items.Add("Oppo")
  11.         End Select
  12.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement