Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting vbscript into javascript.

Status
Not open for further replies.

jfdabiri

MIS
Feb 27, 2007
282
US
hi,
i have this code on an asp page on a website. i'm trying to convert this into html/javascript. what's the equivalent of this in javascript, please?
Code:
     DatabaseLocation = Server.MapPath("orders.mdb")
     set conn=Server.CreateObject("ADODB.Connection")
     conn.Provider="Microsoft.Jet.OLEDB.4.0"
     conn.Open DatabaseLocation 
     Set objRs = conn.Execute("SELECT * FROM orders;")
with the exception of server.createobject, which doesn't exist in javascript, i can figure out the rest of it. i just need the equivalent of this in javascript, please.
thanks.
 
thanks,
that one was for a local machine. this one is for the server. if the other post applies to this sever version, as well, then i'll try that. thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top