Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 SQL 服务器 Express 版实例,我需要在其上创建一个数据库,但我没有 Sql 浏览器,否则我该怎么做
您可以使用 Visual Studio 中的“服务器资源管理器”(菜单视图、服务器资源管理器)进行连接。
此窗口允许您连接到现有数据库(Sql2000、2005、2008、访问)。
一旦您能够连接,您就可以:
如果您愿意,您可以设置数据库项目以自动部署到数据库。
希望这些链接可以帮助你:
http://arcanecode.com/2007/01/26/create-a-table-in-sql-server-compact-edition-with-c/
http://www.c-sharpcorner.com/UploadFile/mahesh/CreatingDBProgrammaticallyMCB11282005064852AM/CreatingDBProgrammaticallyMCB.aspx