我刚开始使用 SQL Compact Edition 和 VB.net 2012。
我遇到了以下网站,希望能帮助我入门:http://sharecom-clemo.blogspot.com.au/2012/05/code-sample-demonstrating-how-to_07.html
但是它说'转到项目属性的引用页面并首先引用 SQL Server CE 程序集。然后您可以导入 SQL Server CE 命名空间。'
我希望通过单击“项目”>“添加引用”我这样做是正确的
然后选择“Microsoft SQL Server Compact Control”。
However when selecting that and clicking on 'OK' I get a error not allowing me to add it as it says that it can't register the ActiveX type library.
有谁知道我做错了什么,这是我应该做的吗?
最佳答案
转到程序集选项卡(不是 COM),然后浏览到 C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Desktop 和对 System.Data.SqlServerCe.dll 的引用
关于sql - 无法将 SQL Compact Edition 添加到我的 VB.net 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17459497/