Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use a SQLite database in a shared folder in a PC?

I am developing an UWP application (Windows phone 10) and I have a SQLite database in a shared folder in a PC in my LAN. I would like to know if I can use this database in the windows phone app, like I do with my WPF application, that I can set the path of the database and I can use it from any computer in my lan.

Thanks.

like image 332
Álvaro García Avatar asked Jan 10 '16 12:01

Álvaro García


1 Answers

Real Path:

\\192.168.1.102\Database\MyDB.db3

USE THIS Connection String:

Data Source='//192.168.1.102/Database/MyDB.db3';Version=3
  • cnStr.Replace("\", "/") in windows
like image 181
Haddad Avatar answered Sep 20 '22 18:09

Haddad