Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 27th, 2004, 02:00 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default how i can use it whitout using ip

how i can do it without using ip address how i can tell to sqlConnection Object To connect To a remote db of sqlserver
please explaine more (pleasle a sample).
and how i can find sample of connecting to remote machine(i am confued) that how i specify that where the server is located.
please help me .
with best regards thanx to all of forums.

__________________
       YoOrD .
Beauty is not on the face
Beauty is on the heart
~~<<Ghibran Khalil>>~~
 
Old May 27th, 2004, 03:16 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Usually, you can specify the server by name. At least in a windows network. So the value for your datasource server parameter would be the name of your server: "MySQLDatabaseServer". If the name doesn't work, you'll have to use IP. There are only so many ways to contact a server.
 
Old May 27th, 2004, 05:17 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

For a remote server connection, check out the connection strings here:

http://www.able-consulting.com/dotne...anagedProvider

yoord, did you also send me a personal e-mail asking this???

Cheers,

Imar
 
Old May 29th, 2004, 12:32 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Just name of Server is enough make a connection sting as u do for local one just change the Server name to Server in Network. TCP-IP do the rest.

Always:),
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me i must Get IP Address pla_2 C# 2005 2 October 12th, 2006 07:51 AM
my IP adr. 2V. C# 1 August 14th, 2006 04:05 PM
IP mani_he Beginning PHP 4 November 8th, 2004 09:53 PM
get hostname from IP cygnusx04 Classic ASP Basics 12 October 14th, 2004 02:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.