Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Export SQLite data from UWP to CSV file

RcmpAduRcmpAdu Member ✭✭

I've been trying to export data from a SQLite database to a local CSV file without success. I read somewhere that UWP app can only access the Downloads folder in terms of file/folder access - is this correct? Any guidance with implementing my requirement is appreciated.


  • RcmpAduRcmpAdu Member ✭✭

    The UWP program I developed using Xamarin Forms runs on a Surface tablet, and basically I want to export the results of a SQLite query to a locally created csv file, but if I try to use a destination like

    string folderPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)

    I receive an unauthorized access exception "Access to the path C:\Users is denied".
    How do I get around this limitation?

Sign In or Register to comment.