I use the English version of the VS2008, do not like to use the Chinese version.
Now use C # for related development, using the SQLite database.
Find a lot of online, the real tutorial is very few, are posted a bunch of garbage code. Either is unable to configure through, the error a lot, hey.
Finally, I have to find a solution.
1, download SQLite run the library, the first online tutorial is let us go to Http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki download, but on the page so much, we should choose Which? The Web page turned to the bottom of the Legacy Versions,
The true download link address is: http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/
Download Latest Version: Sqlite-1.0.66.0-binaries.zip
2, downloaded after the extract to their own designated directory, for example: C:\Program Files (x86) \sqlite.net. The directory contains folders that have bin Doc and Readme.htm files
3, open VS2008 your project, right click References,add reference,browse Browse to the directory you just unzipped, into the compactframework directory below, Select System.data.sqlite.dll,ok. Be sure to choose this, or your project for Windows Mobile form engineering, will certainly compile an error. We found a file called Sqlite.interop.066.dll in this directory, what is this for? This is the library file used on the Windows Mobile platform, or the program will not run on the machine, so copy this file to the project run directory on your machine.
4, this time has been compiled through, but there are still 3 warning.
5, solve warning, because of 2.0 and 3.5 version compatibility issues, we put the project in the original references System.Xml,system.data,System All three of them are erased.
6, according to the method of 3rd, continue to add the following reference
7, browse to C:\Program Files (x86) \microsoft.net\sdk\compactframework\v2.0\windowsce directory, this directory is my Computer directory, you can according to your own computer situation to find this directory, The Program Files directory is usually in the C drive.
8, add this directory of System.Xml,system.data,System three files, OK.
9, OK, you can recompile the project, the perfect pass, not a warning and error.