SqlDataSource 在哪里获取连接字符串的默认列表?

发布于 2024-08-13 02:32:14 字数 169 浏览 2 评论 0原文

ASP.NET 3.5。我正在使用配置数据源向导在新解决方案的新项目中配置 SqlDataSource,并在“您的应用程序应使用哪个数据连接来连接到数据库?”下我得到了两个连接字符串的 ddl 供选择(除了创建新连接的能力之外)。

问题是,向导在哪里选取这两个连接字符串?显示的名称来自我的其他解决方案之一。

Aspnet 3.5. I am using the Configure Data Source wizard to configure a SqlDataSource in a new project in a new solution and under "Which data connection should your app use to connect to the db?" I am being given a ddl of two connection strings to choose from (in addition to the ability to create a new connection.)

The question is, where is the wizard picking up those two connection strings? The names displayed are from one of my other solutions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

他不在意 2024-08-20 02:32:14

这些是服务器资源管理器之前使用和记录的连接。如果您希望将其删除,请转至“视图和服务器资源管理器”并将其从列表中删除。

Those are connections previously used and recorded by the Server Explorer. If you want them removed, go to View and Server Explorer and delete them from the list.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文