Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Guys,


I am working on Windows Phone 7.1 and using LocalDataBaseSample so it is using SQL CE so how I would know where is my SQL CE DB beacause I want to sync this database with my existing Desktop application so is there any way to find or one more things is once I am adding the record and save it until and unless close this application and runs agin so I am loosing my data so how I can store the data in permenently so it will goes to my SQL CE DB..


I had already tried different application but I din't get any single application that would be full fill my requirement.
so I am phasing this problem last week is there any good solution or other any good article then please let me know.


Thanks..!!!
Posted
Updated 13-Jun-11 5:52am
v2

1 solution

Easy way to find it: look at your connection string. For CE that gives the path to the file directly.
 
Share this answer
 
Comments
Jitendra.Jadav 13-Jun-11 6:47am    
this will give me directory path but this will the app directory so that would be the difrent from this directory inshort it will not give me correct directory or for eg. my DB name is myDB.sdf so I am finding to this sdf in my all the directory but I am not able to find it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900