VB.Net: Refresh ListView and DataGridView
Posted on 2012-04-09
In a ListView or in DataGridView I fill data from the database, and the query may contain about a few hundred to thousands of records.
But if I make any changes to the values in the ListView or in the DataGridView (the changes are only to a few rows or for a few cells) and to view the changes I always refill the controls by re-querying, which is really inefficient.
Is there any method that I could use to only refresh a particular column or rows or cells, or a collection of them rather than refilling them in the ListView or in the DataGridView.
Thanks in advance.