Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data menu and add Data Source in Visual Studio 2015

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 ?

like image 595
Devsined Avatar asked Aug 02 '15 21:08

Devsined


People also ask

How do I add a data source in Visual Studio 2015?

Open your project in Visual Studio, and then choose Project > Add New Data Source to start the Data Source Configuration Wizard. Choose the type of data source to which you'll be connecting. Choose the database or databases that will be the data source for your dataset.

How do you add a data source?

Create a new data sourceIn the Connect to data tab, select the type of data you to which you want to connect. Select the specific data set and provide your authorization, if necessary. In the bottom right, click Add.

How do I view data source in Visual Studio?

In Solution Explorer (on the right of the Microsoft Visual Studio window), right-click Data Source Views, and then click New Data Source View. On the Welcome to the Data Source View Wizard page, click Next. The Select a Data Source page appears.

Where is data source in VB net?

To open the Data Sources window, make sure your project is open, and then press Shift+Alt+D or choose View > Other Windows > Data Sources.


2 Answers

To open data source window choose View -> Other Windows -> Data Sources as well you can try the short keys Shift+Alt+D.

like image 170
Rahul Avatar answered Oct 19 '22 02:10

Rahul


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.

like image 2
Ashraf Sada Avatar answered Oct 19 '22 04:10

Ashraf Sada