SQL Server CE 4 DataProvider not available in server explorer
I have installed the sp1 for visual studio 2010 and installed sql server ce 4 runtime. But still not able to create connection to the sql ce database using standart data provider.
This is how my Select DataProvider Dialog looks like now.
P.S. Does not know if it matters, but I have tested this with console appl开发者_开发问答ication and winforms application both targeted at .Net 4.0
You must install the SQL Server Compact 4 tools via Web PI, as described here: http://erikej.blogspot.com/2010/12/visual-studio-tools-for-sql-server.html
You can use this project/Tool to open/create sql ce databases:
SQL SERVER CE QUERY TOOL
And have a look at this:
Everything SQL Server Compact
Regards
Another option, just install the extension SQL Server Compact & SQLite Toolbox
from here http://sqlcetoolbox.codeplex.com or over VS Add Extension.
精彩评论