本文介绍了如何将 system.data.SQLite.dll 的引用添加到 Windows Phone 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Windows Phone 7 的新手,请帮我解决这个问题.我想在windows phone 7中添加一个SQLite数据库.我下载了system.data.SQLite.dll来自 sourceforge(www.sqlite.org).我将其添加为 Windows Phone 7 Visual Studio 2010 express for windows phone 中的参考.但是,它显示一条错误消息,System.Data.SQLite.dll 不是使用 Windows 构建的手机运行时.

I'm new to windows phone 7, please help me with this query.I want to add a SQLite database in windows phone 7. I downloaded the system.data.SQLite.dllfrom sourceforge(www.sqlite.org). i add it as a reference in windows phone 7 visual studio 2010 express for windows phone. But, it show a error message that, System.Data.SQLite.dll is not built using windowsphone runtime.

推荐答案

我想你下载了错误的 .dll.(对于 c# .net,而不是 Silverlight).

I suppose you downloaded a wrong .dll. ( for c# .net, and not silverlight).

如果你愿意,你有一个很好的使用您的 WP7 应用程序中的 SQLite,解释了如何使用 SQL(教程使用 sqliteClient> )

If you want, you have a great tutorial for using SQLite in your WP7 apps, explains how to use SQL (tutorial uses sqliteClient )

这篇关于如何将 system.data.SQLite.dll 的引用添加到 Windows Phone 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 23:52
查看更多