.I have fruit list in xml file .i want to load this xml file so that i can read the data stored i n xmlfiles.i get the path where i stored my xml file but when i want to load xml file i get error.is there any way to load the storage xml file .Please help me..
here is my code
Uri dataUri = new Uri("ms-appx:///XMLFile/XMLHistory.xml");(here in datauri i have path of xml file)
StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(dataUri);
var stream = await file.OpenStreamForReadAsync();
XDocument loadedData = XDocument.Load(stream);(here i get error)
please modify this...
Gareth BradleyPosted Sep 20, 2016, 4:25 PM
Amar GaikwadPosted Aug 13, 2016, 11:35 AM