问题
In visual studio 2012 there is a Data menu option and add data source option that can be use to add a connection string to the app.config or the web.config. Where is that menu in Visual Studio 2015 ?
回答1:
To open data source window choose View -> Other Windows -> Data Sources
as well you can try the short keys Shift+Alt+D
.
回答2:
Data sources window is not available for web applications, only available for windows forms and WPF applications in visual studio 2015.
you can use Server explorer instead.
来源:https://stackoverflow.com/questions/31776820/data-menu-and-add-data-source-in-visual-studio-2015