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.
我有一个新的 MVC4 应用程序。它在我的笔记本电脑上的 sqlexpress db 上创建了成员资格和 userprofile 表。我想更改它以在另一台服务器 sql db 上创建和使用这些。
如何创建这些表并告诉我的应用程序使用这些表?
谢谢
所以 - 我的数据库托管在 discountasp.net 上。您所要做的就是将 web.config 中名为 LocalSqlServer 的连接字符串指向新数据库,然后点击默认的 Account/Register 页面并创建表。