|
-
February 24th, 2000, 03:19 AM
#1
HELP! Web DB Connection String
I'm trying to connect to an Access DB on a Web Server, with DSN Less Connection. This web server lets me use ASP, so I think I can create a client to EDIT Info in my DB.
I fallowed a sample project with MS OLE DB Provider for Internet Publishing, and I'. able to se de files on the web server.
But what I really want is to be able to EDIT data.
What Provider should I use to create a connection, and a record set from my DB?
What information should I look for on MSDN Library?
Thanks;
=EDGARDO=
Univ. Of Puerto Rico
-
February 24th, 2000, 06:22 AM
#2
Re: HELP! Web DB Connection String
try RDS or OLE DB remote provider !!!
[email protected]
-
February 24th, 2000, 03:29 PM
#3
Re: HELP! Web DB Connection String
If you want to build the recordset on the server side, you can use this for the connection string:
Dim cn as adodb.connection
Dim sPathToMDB as string
sPathToMDB = Server.MapPath("YourMDB.mdb")
cn.connecionstring = "Provider=MSDASQL;Driver={Microsoft Access Driver (*.mdb)};DBQ=" & sPathToMDB & ";"
cn.open
'then just open a recordset the same way as in regular VB.
Hope this helps,
John
John Pirkey
MCSD
www.ShallowWaterSystems.com
John Pirkey
MCSD (VB6)
http://www.stlvbug.org
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|