I have a button \"Show data\". When click it, data will display in list view. But I want to clear it and then click \"Show data\" again to display new data. Because I don\'t
put this at the top of your "Show Data" button's click event.
private void showData_Click(object sender, EventArgs e) // done { listViewData.Items.Clear(); // your code }