My problem is basically the same as in the post below, but on Windows Mobile 6:
Local database, I need some examples
In short: I need a local database accompanying the executable, and I'm trying to do that using the CE database. In the first reply under the post above there is a solution, though it doesn't work on Mobile, i.e. this line can't compile:
string dbfile = new System.IO.FileInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).DirectoryName + "\\datafile.sdf";
And that's due to lack of the "Location" attribute.
What's the solution? I'm quite new to databases on .Net, and documentation on MSDN is too vague for me to help.