且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将Visual Studio 2010 Express C#连接到SQL Server Express

更新时间:2023-01-30 20:49:09

我想出了一个更好的解决方法.应用程序设置似乎保存在[文档和设置] \ [用户] \ Application \ Microsoft \ VCSExpress \ 10.0和VWDExpress \ 10.0中.我发现在WD中创建连接后,将ServerExplorer \ DefaultView.SEView从VWDExpress复制到VCSExpress可以正常工作.我可以从那里创建新对象,从数据刷新,从设计中创建数据库,等等.

I figured out a better workaround. The application settings seem to be saved in [Documents and Settings]\[User]\Application\Microsoft\VCSExpress\10.0 and VWDExpress\10.0. What I found is copying ServerExplorer\DefaultView.SEView from the VWDExpress to VCSExpress after creating the connection in WD worked perfectly. I could from there create new objects, refresh from the data, create a database from the design, etc.