XDocument XDoc = XDocument.Load(@"D:\Manjula\WebCam1.0\WebCam1.0.Web\ClientBin\StoreUserInfo.xml"); // Query for retriving all Images data from XML var Query = from Q in XDoc.Descendants("Image") select new ImageEntity { ImageName = Q.Element("ImageName").Value, ImagePath = Q.Element("ImagePath").Value }; // return images data return Query.ToList<ImageEntity>();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)