---
title: "How can I make a ListView update after each item is added in C#?"  
description: "How can I make a ListView update after each item is added in C#?"  
author: "Anonymous User"  
published: 2013-07-17  
updated: 2013-07-17  
canonical: https://www.mindstick.com/forum/1304/how-can-i-make-a-listview-update-after-each-item-is-added-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How can I make a ListView update after each item is added in C#?

Hi [mindstick](https://yourviews.mindstick.com/view/84668/how-mindstick-is-used-for-marketing-purposes)!

I [am trying](https://answers.mindstick.com/qa/36834/which-two-programming-languages-should-i-master-in-if-i-am-trying-to-get-into-google-or-facebook) to use a [ListView](https://www.mindstick.com/articles/12744/listview-in-android) to make a realtime log [output](https://www.mindstick.com/interview/34427/explain-the-output-in-angular) to a [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) form.

This is the dummy code:

[public](https://www.mindstick.com/blog/11097/java-access-modifiers-the-public-and-the-private-modifiers) Form1()

{

InitializeComponent();

listView1.View = View.Details;

listView1.GridLines = false;

listView1.Scrollable = true;

listView1.FullRowSelect = true;

listView1.Columns.Add("Track");

listView1.Columns.Add("[Status](https://www.mindstick.com/articles/157184/check-lic-policy-status-online-by-policy-number)");

for (int i = 1; i <= 10000; i++)

{

ListViewItem LVI = new ListViewItem("Track " + i);

LVI.SubItems.Add("Updated");

listView1.Items.Add(LVI);

listView1.TopItem = LVI;

listView1.EnsureVisible(listView1.Items.Count - 1);

}

}

How can I set it so it refreshes after each line is added? At the moment the [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) waits until the list is generated and then loads the form with the complete list.

Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)


---

Original Source: https://www.mindstick.com/forum/1304/how-can-i-make-a-listview-update-after-each-item-is-added-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
