Apr 07, 2017 The program I am designing has three main controls: a ListView, a TextBox, and a Button. Add to Want to watch this again later. A suggested method for starting an edit of a subitem is to click on a subitem when the item already has the focus.
![]()
Hi guys,
Currently I am updating a listview with data in it via clicking on the selected row and displaying that row data onto textboxes and then updating it. What the data has is ID number follow name and QTY. What I want to add to this function is to update the quantity of a specific ID without clicking on the specific row in listview but by searching the ID, returning its results in the textbox, update it .
![]()
Hi guys,
Currently I am updating a listview with data in it via clicking on the selected row and displaying that row data onto textboxes and then updating it. What the data has is ID number follow name and QTY. What I want to add to this function is to update the quantity of a specific ID without clicking on the specific row in listview but by searching the ID, returning its results in the textbox, update it .
![]()
I guess your best choice is to find ID using the
ListView1.Items.Find(Key) but that depends on how you are populating the Listview. or Loop through the listview and search for text inside specific column.
How you are populating the listview?
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |