I don't have SqlServerCe assembly?

耗尽温柔 提交于 2019-12-01 05:14:13
Mark Hall

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.

I believe that you need to browse to the assembly in order to get it included.

Adding my database as a Data Source solved the problem for me. (Shift + Alt + D) then Add New Data Source knowing that my .sdf database is already connected with my project via Data Explorer.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!