Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 20, 2012 05:39 PM by pkrz
Member
2 Points
5 Posts
Aug 18, 2012 05:59 PM|LINK
In sql server 2005 i'm just writing server name as : DOMEK-2C9E17E2C and Windows Authentication with user name : DOMEK-2C9E17E2C\Administrator How to connect to database in visual studio developer using ADO.NET? Please give me a code?Hope not problem.
All-Star
18764 Points
3637 Posts
Aug 18, 2012 08:36 PM|LINK
In the Server Explorer in Visual Studio, connect to your database just like you did in SQL Server.
118619 Points
18779 Posts
Aug 20, 2012 01:39 AM|LINK
pkrz How to connect to database in visual studio developer using ADO.NET?
Hi,
Just open your Vs and then choose "View"=>"Server Explorer"=>SQL Management Studio.
Try to create a connection to your remote Server and then have a test with that.
Aug 20, 2012 05:39 PM|LINK
Yes, it helped me! not first time on this forum.
pkrz
Member
2 Points
5 Posts
Problem with database
Aug 18, 2012 05:59 PM|LINK
In sql server 2005 i'm just writing server name as : DOMEK-2C9E17E2C
and Windows Authentication with user name : DOMEK-2C9E17E2C\Administrator
How to connect to database in visual studio developer using ADO.NET?
Please give me a code?Hope not problem.
Careed
All-Star
18764 Points
3637 Posts
Re: Problem with database
Aug 18, 2012 08:36 PM|LINK
In the Server Explorer in Visual Studio, connect to your database just like you did in SQL Server.
"The oxen are slow, but the earth is patient."
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Problem with database
Aug 20, 2012 01:39 AM|LINK
Hi,
Just open your Vs and then choose "View"=>"Server Explorer"=>SQL Management Studio.
Try to create a connection to your remote Server and then have a test with that.
pkrz
Member
2 Points
5 Posts
Re: Problem with database
Aug 20, 2012 05:39 PM|LINK
Yes, it helped me! not first time on this forum.