Hi,
I have a problem with populating a listview from a datagrid.
Basically I am looping through the grid and populating the listview on certain criteria. My problem is that I am always missing the last record.
I have setup a messagebox to pop every time a record is about to be added lvmain.items.add(lvi) but the last record never shows.
Also, I always seem to get a blank entry on the very first line of the listview control.
Any ideas.
Jason
I have a problem with populating a listview from a datagrid.
Basically I am looping through the grid and populating the listview on certain criteria. My problem is that I am always missing the last record.
I have setup a messagebox to pop every time a record is about to be added lvmain.items.add(lvi) but the last record never shows.
Also, I always seem to get a blank entry on the very first line of the listview control.
Any ideas.
Jason