我没有SqlServerCe程序集吗? [英] I don't have SqlServerCe assembly?

查看:53
本文介绍了我没有SqlServerCe程序集吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个简单的WinForms应用程序,该应用程序使用.sdf数据库存储数据.我看到了有关如何处理多线程访问的有趣帖子.,这似乎很有用.问题是,我找不到System.Data.SqlServerCe程序集.我安装了Sql Server Compact 3.5 SDK,但是当我添加参考时,该参考仍然没有出现在我的.NET程序集列表中.我想念什么?

I'm working on a simple WinForms app that uses an .sdf database to store data. I saw this interesting post on how to handle multithreaded access, which seemed useful. Problem is, I can't find the System.Data.SqlServerCe assembly. I installed the Sql Server Compact 3.5 SDK, but that reference still doesn't show up in my .NET assemblies list when I go to add the reference. What am I missing?

我正在Windows 7上使用Visual Studio 2010 Ultimate.

I'm using Visual Studio 2010 Ultimate on Windows 7.

推荐答案

转到工具",然后选择选择工具箱项...",然后选择.Net Framework组件,然后查看是否有任何SqlServerCe组件出现,然后选择System.Data.SqlServerCe组件之一,如果再将其添加到窗体中,它将添加对项目的引用.

Go to "Tools" and select "Choose Toolbox Items..." and select .Net Framework components and see if any of the SqlServerCe components shows up, then select one of the System.Data.SqlServerCe components, if you then add it to your form it will add the reference to your project.

这篇关于我没有SqlServerCe程序集吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆