0

i have 1 text box and combobox. all i want is to enter all data that is type or selected in combobox is showed in list view. can you help me to do that.? and all entered data in listview could be save in database. ^^

2
Contributors
1
Reply
5
Views
5 Years
Discussion Span
Last Post by Begginnerdev
0

Try something like this:

Dim lviNew As New ListViewItem

With lviNew
    'NOTE:
    ' I always assign my unique values to the .Text property.
    ' This will make it easier to compare against a database.
    .Text = TextBox1.Text
    .SubItems.Add(ComboBox1.Text)
End With
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.