I have a VB 2005 Application I am working on and I can’t seem to get the User Display the way I want it. Currently I have a ListView set up to display a list of Internal program variables that can change every 20ms. I started with ListView.clear then ListView .add but that causes a flashing when it reloads that I don’t like seeing. I need to find a way to create a viewable list with 5 columns where I can edit the existing data programmable without having to Clear and add. I looked at ListView, and DataGridView but I can’t seem to find a way to do a “for/each/next” of a column and change the row in that column when needed.
Loading
Jan MontanoPosted Jul 26, 2007, 11:32 PM
Quote: "but I can’t seem to find a way to do a “for/each/next” of a column and change the row in that column when needed."
It works the other way around. You can foreach a row in a datagrid then change the column value that needs to be.
Assuming your dataGridView already has 5 columns...
Dim row As DataGridViewRow
For Each row In DataGridView1.Rows
Next row