i have 2 listview and i want to get the item from the listview to another listview like when i select an item from listview1 i can get the total ltrs of it from the listview2.
i've been struggling with this thing hope anyone can help me out.
i have 2 listview and i want to get the item from the listview to another listview like when i select an item from listview1 i can get the total ltrs of it from the listview2.
It will be quite complicated if you want to use the ListView as the source for your data. It would be simpler if you create your data source first (a DataTable, or a collection of object instances, or any similar form
of data structure) and use this data source to create the ListView. You can then re-analyse the same original data source to create the summary in the second ListView. Working through a data source that is optimised for that data is much easier
than trying to work through a ListView. See here for a simple example of how to separate the data source from the display: http://vbdotnetblog.wordpress.com/examples/data-entry-save-and-restore/
Proposed as answer byFrank L. SmithSunday, June 8, 2014 11:26 AM
Marked as answer byLeo (Apple) YangMonday, June 16, 2014 2:55 AM