Hi!!!
I have 2 sites
i put my database on one site www.onesite.com
while the asp pages are on second site www.2nd site.com
now i want to connect asp pages to database from one site to 2nd site.
can any one how can i do it..???
Printable View
Hi!!!
I have 2 sites
i put my database on one site www.onesite.com
while the asp pages are on second site www.2nd site.com
now i want to connect asp pages to database from one site to 2nd site.
can any one how can i do it..???
Hi shahid!
'I have provided the connection string for MS-SQL server.
PS:Code:
Provider="SQLOLEDB;Network Library=DBMSSOCN;Data Source=11.111.111.1,1433;Initial Catalog=myDbname;User Id=sa;Password=xxx;"
IP address of the DB server: 11.111.111.1
TCP port to connect=1433
DBMSSOCN - instructs the system to use TCP/IP connection
Hope this helps you!
i think this code working with SQL SERVER.
but i use MS Access file..
i hope u pass ur comments for it