Web Site Devloped By Abhishek Mishra
Tech. Help By Anand Mishra
Contact no. 9425355631

Powerd by Shree Guru Kripa Computer


vb.net_COMBO_BOX_USE_ADD_REMOVE_CLEAR_LIST program


This is vb.net_COMBO_BOX_USE_ADD_REMOVE_CLEAR_LIST Program.There is you input data in "Combo Box". You Can "Add", "Remove" and "Clear List" also by this program.

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ComboBox1.Items.Add(ComboBox1.Text)
ComboBox1.Text = ""
ComboBox1.Select()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
ComboBox1.Items.Remove(ComboBox1.Text)
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
ComboBox1.Items.Clear()
End Sub
End Class