will you please help me in my problem.. when ever i am triggering a button I can display it on the list view.. but my problem is that i need to clear the item in list view after triggering the button. example i have a search button. when i click the search button i can display the values (from database) in the list view. but when i research again. the value of the list view overlaps.

please help me. thanks

just clear the listview before filling the new values. ListView1.Items.Clear()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.