Hi
I want to make a database for my mobile 6 cellphone app. What I did was in visual studios I went to my project name and right clicked on it, went to add -> add new item -> data -> choose datafile.
It created a database file called "AppDatabase1.sdf"
Now I want to connect to my database but I don't know how what the connection string is since I see no app.config where I normally would expect it to be.
So I just have
SqlCeConnection conn = new SqlCeConnection("Not sure what to put here");
conn.Open();
When I click on the server explorer tab I see my database so I click on it. In the properties section it has something labeled "connection string" however it looks like the path to the actual file and when I run it in the emulator I get an error.
"The database file cannot be found. Check the path to the database."
Thanks