Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
asp.NET connection.....
Old 02-23-2006, 08:48 PM asp.NET connection.....
waller's Avatar
Skilled Talker

Posts: 59
Location: North Borneo.
Trades: 0
So I download this asp.NET code right from a site...

PHP Code:
' Create a new Connection object that connects to our SQL Server.
It's running on a separate machine located at the IP address
10.2.1.214.  The name of the database is "samples".
myConnection = New SqlConnection("Data Source=10.2.1.214;" _
"Initial Catalog=samples;" _
"User Id=*****;Password=*******;"
This code use a data source from a separate machine, and so it use the other machine's IP address. What should I put there if I'm using a local machine. I tried putting local IP address but nothing happens.
__________________
$id ="waxxer";
$id = str_replace('x', 'l', $id);
echo $id;
echo " and Marj";
waller is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-24-2006, 09:36 AM Re: asp.NET connection.....
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
localhost or 127.0.0.1
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-16-2006, 12:08 PM Re: asp.NET connection.....
sherkhan's Avatar
Skilled Talker

Posts: 56
Trades: 0
use localhost
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

sherkhan is offline
Reply With Quote
View Public Profile Visit sherkhan's homepage!
 
Reply     « Reply to asp.NET connection.....
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50166 seconds with 12 queries