How do I display ALL of my saved items of different list from the isolated storage?
Eg. I created a list named "Breakfast" with 2 Bandung and 3 Water inside.
Created another list named "Lunch" with 5 Bandung and 2 Hot-tea inside.
When I click to view "Lunch" list, it will display out the list with "5 Bandung and 2 Hot-tea".
However, I can only manage to display "Hot-tea" without the quantity, and unable to display 5 Bandung as well.
How do I go about displaying all of the items inside the selected list?
// SAVE DIFFERENT (MULTIPLE) LISTS OF DRINK ITEMS
private void addListBtn_Click(object sender, RoutedEventArgs e)
using (IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication())
StreamWriter writeFile = new StreamWriter(new IsolatedStorageFileStream("ListFolder\\savedList.txt", FileMode.OpenOrCreate, storage));
for (int i = 0; i < (Application.Current as App).userDrinksList.Count; i++)
String drink = (Application.Current as App).userDrinksList[i].ToString();
XDocument _doc = new XDocument();
View Complete Post