How to Display Data in ComboBox - VB Net 2013

ComboBox in VB Net is most important to design form using VB Net. Combobox is also often use besides TextBox and button. In This tutorial I will share How to Display Data in ComboBox in VB Net 2013

See also : How To Set Column Width DatagridView VB Net 2013

For the first please open VB Net 2013
Click FILE - New Project
Click OK
and then design form like below picture at Form1.vb
Place below code at Form1

Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        ComboBox1.Items.Add("MALE")
        ComboBox1.Items.Add("FEMALE")

        ComboBox2.Items.Add("INDONESIA")
        ComboBox2.Items.Add("SINGAPORE")
        ComboBox2.Items.Add("MALAYSIA")
        ComboBox2.Items.Add("FILIPINA")
        ComboBox2.Items.Add("BRUNEY")
        ComboBox2.Items.Add("THAILAND")
        ComboBox2.Items.Add("ENGLAND")
        ComboBox2.Items.Add("USA")
    End Sub
End Class

Here for the result
Thanks for visiting BelajarVB.com and I'am happy if you comment in this blog :)

Subscribe to receive free email updates:

0 Response to "How to Display Data in ComboBox - VB Net 2013 "

Post a Comment