I am trying to retrieve all the file name under “ScheduleFolder” and place it into a listbox.
How should i go about doing it?
How to let it show into the scheduleListBox?
IsolatedStorageFile myStore = IsolatedStorageFile.GetUserStoreForApplication();
string[] fileNames = myStore.GetFileNames("./ScheduleFolder/*.*");
foreach (string name1 in fileNames)
{
yo = fileNames[0];
}
scheduleListBox.Items.Add(yo);
textBlock1.Text = yo;
Try this snippet