I have connected with the database successfully by using wizard in server explorer. but the data source is showing nothing. i have googled and search on msdn help. but not get help.
I want to add data source. but add new data source option is disabled for me.
I am using windows form application...
I want ask that am i doing right. could you please tell me how can i get rid of not showing thing.
PLEASE HELP!!!
The Server Explorer of Visual Studio 2010 and the Datasource of your application are completely different. Check the following links to see how you can connect your Windows Form Application with Sql-Server database:
Walkthrough: Connecting to Data in a SQL Server Express Database (Windows Forms)
Connecting to a Database with Visual Studio Tools
Related
I'm new to Azure and I'm trying to connect to our Azure DB using Visual Studio.
I can connect to the DB fine, but when I expand the DB I cannot see any DB Objects. See the image below. I've Googled the issue but cannot find where anyone has replicated this issue, so I accept I'm likely doing something wrong!
I can query the DB fine and it will return results.
To connect the visual studio to azure database and view the tables of database in visual studio follow the following steps:
Open your project in visual studio, Click on server explorer
Then click on SQL server Object explorer
Then click on Add SQL Server
Then expand Azure, click on your mail id and select subscription.
Then it will show all databases present in your subscription, select
your database I will fetch all information expect password, provide
your password and click on connect.
It will show all your databases tables from azure database
You can refer to this Document for more information: Work with Visual Studio to connect to SQL Databases in Azure.
I am trying to connect to our Oracle database using Visual Studio (VS) 2017 (i am not able to upgrade to the latest version due to company policy). So far, I have downloaded ODTwithODAC183 from this site: https://www.oracle.com/database/technologies/dotnet-odacdev-downloads.html
I have done the installation properly , after the installation, I opened VS, and clicked on Tools -> Connect to Database and chose Oracle Database
After pressing OK, I got this screen below and filled it up accordingly:
Next I clicked on test connection, and I received a message saying that the connection is successfully established, however, on the second screenshot, if you look under Data Connection at the left side, under tables -> Relational tables, it is completely empty and none of the tables from the database have loaded.
I was wondering if anyone could please help me figure out how I can view the tables from an Oracle database using Visual Studio 2017.
thank you!
I created a test WinForms app in Visual Studio 2013 Premium (admin) & Update2. Enabled SQL Server debugging. Created a data connection to my local Northwind database. I am admin on the box. Expanded the stored procedures list and right clicked on several SP's and I was expecting a 'step into Stored Procedure' option and it doesn't exist. I am following the steps from here.
I right clicked on the connection name and there's no enable SQL/CLR debugging option. I read about references to SQL Server Object Explorer which is under Server Explorer and that's missing too. I am using SQL Server 2012 Developer edition.
Why am I missing all these options?
You might need to install SQL Server Data Tools for Visual Studio:
http://msdn.microsoft.com/en-us/data/hh297027
I'm new to using Visual Studio and SQL Server.
My problem is this:
I have created a database in SQL Server Management Studio, then I'd like to connect it my app in Visual Studio. I right click in the Server Explorer and click on Add connection. Here I can find through dropdown list my server, but when selecting the database under "Connect to a database" it doesn't find my new database in the dropdown list...
Can you help me please? Thank you a lot :-)
check whether it is windows authentication or server authentication in sql server 2008 where you have created the database. If it is server authentication then check whether you are entering correct username and password.
I installed SQL Server 2008 R2 and I already have Visual Studio 2010.
When I try to connect to the SQL Server there exists no server on my Add Connection while my database engine works properly.
Why is that so?
As far as I can tell, in Server Explorer, you need to click the "Connect to Database" toolbar icon (or right-click Data Connections and choose "Add Connection...").
From the Data source list, choose Microsoft SQL Server and then click Continue. The Add Connection dialog box displays so you can enter your server name (machinename\instancename). You can choose between Windows or SQL Server Authentication (depends on how you set it up, but Windows Authentication should work for a local installation).
Once you have entered a correct server name and credentials you'll get a list of databases to choose. Select one if you wish and click OK. That should get your server added to the list for Visual Studio 2010.
The issue is that is VS 2010, you need to type in your localhost instead of choosing the connection from the drop-down list. I hope this issue is resolved in the next releases.
I believe if from VB 2010 you go to Project >> Add New Item and choose the appropiate path for your server it should work.
You may also want to try Data >> Add New Data Source