Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-12-2004, 12:25 AM   #1 (permalink)
In The Zone
 
Join Date: Jan 2004
Location: Panaji - Goa
Posts: 255
Default SQL AND ASP


I have installed sql and i want to connect it with asp.
How do i do tht?
Do i need to install MyODBC Driver?
__________________
Ish Karo... Ishq karna Tumhara Paidaishi Haq Hai........
Magar Kyon Na Is Bar Watan Ki Mitti Ko Mashuka bana le!!!

:) http://www.aseemn.org
Aseem Nasnodkar is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-12-2004, 01:37 AM   #2 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
Default

What SQL ..?
SQL Server or MySQL ...??
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 11-12-2004, 12:15 PM   #3 (permalink)
Human Spambot
 
Ethan_Hunt's Avatar
 
Join Date: Jun 2004
Location: Bombay, India
Posts: 5,202
Default

Well Assumig That Ur's Is a Sql Server Then use this code To try Connecting to Ur ASP

Dim objConn, objRS
Set objConn = server.CreateObject("ADODB.Connection")
set objRS = server.CreateObject("ADODB.Recordset")

objConn.Provider = "SQLOLEDB.1"
objConn.Properties("Persist Security Info").Value = "False"
objConn.Properties("User ID").Value = "WebUser"
objConn.Properties("Password").Value = "password"
objConn.Properties("Initial Catalog").Value = "MovieMSDE"
objConn.Properties("Data Source").Value = "ZBOROWSKI"

objConn.Open

See if this works.....
Or try This Link for A little help http://support.microsoft.com/kb/176380/EN-US/ or
http://www.15seconds.com/Issue/001025.htm
Ethan_Hunt is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by abhidev
- by Sarath
- by clmlbx
- by ico
- by clinton

Advertisement




All times are GMT +5.5. The time now is 02:09 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2