1. First of all, let's talk about WP's support for .sqlite database operations. The following methods were found from Google, Baidu, Codeplex, etc.; (1) The oldest one is to use the third-party Community.CsharpSqlite.WP.dll assembly (Note: If you want to operate an existing .sqlite database, instead of creating a data table from scratch, adding data, etc., then you need to find this source code on the codeplex website and make corresponding modifications to support use. Otherwise, you will encounter very depressing errors such as "Unable to open database connection...") (2) The second type is similar to the first type, but its package is different. C#-SQLiteWP7.Preview1.Release, which is also on Codeplex. The code usage is similar to the first type, but the method inside returns objects such as DataReader, which makes it convenient for us to perform corresponding data reading operations. Although the database is also copied to the root directory of the independent storage, the connection string here is different. The format is as follows: Simple Code operation process:
If you don't want to modify the source code of Community.CsharpSqlite.WP, then look for the two assemblies Vici.CoolStorage.WP7 and Vici.Core.WP7 on the Internet. I personally feel that this method is simple to operate and has slightly better performance than the first method.
Link to this article: http://wp.662p.com/thread-8290-1-1.html |
<<: Jack Ma and Zhang Chaoyang, the story of worshipping Buddha and believing in religion
>>: Don't bend: Fighting nation boycotts iPhone 6
How much does it cost to join a fresh food mini p...
Almost all operational work is carried out around...
[Diao Chan's Stock Market Discussion] The 5th...
Starting from the position of mobile Internet mar...
The moment users settle on personal WeChat accoun...
It has been a while since iOS 12 was released. Wi...
The user churn rate directly reflects the market ...
With the rise of mobile Internet, the development...
[[418841]] As the ancients said, "Once a wor...
The author reviewed and sorted out nine marketing...
In ancient times, there was a star called Wenchan...
On March 8, WeChat Good Product Circle was offici...
With the rise of "new energy" vehicles, ...
Recently, the company's project used a camera...
APP operation and promotion , to put it simply an...