How to automatically add text in listview in vb.net -
here code:
if e.keycode = keys.enter lvfabric.items.item(0).text = txtfind.text end if
the code above specifying text should added in listview.
the flow of whole function first there textbox(txtfind),for example user input text press enter, after user press enter text added in listview. user 3 times, want how automatically add text in listview without specifying index.
try this
if e.keycode = keys.enter lvfabric.items.add(new listviewitem(txtfind.text)) end if
Comments
Post a Comment