how can i delete a specific row from a listview ?
Printable View
how can i delete a specific row from a listview ?
Code:ListView1.ListItems.Remove IndexOfTheRow
thanks, but its not exactly what i had in mind.
maybe still you can help.
i am reading files ftom a folder into listview , i make a refresh on every click on the listview.
so i read the selected item into a textbox
Text1.Text = ListView1.SelectedItem
and at the end of the refresh i do the oposite. take the selected item from the textbox
ListView1.SelectedItem = Text1.Text
at the end of this, it works, but i get two files with this same name
what can i do to fix this ?
Looks like you having something for renaming those files?
Maybe you have a listitems.add somwehere?
You should post your code an we'll find out;)