472,143 Members | 1,097 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

Databasa connectivity

I want to connect ASP database with MS access.
Dec 20 '06 #1
1 1107
shweta123
692 Expert 512MB
<%
dim con
dim constr
dim rs

con=Server.CreateObject("Adodb.Connection")
constr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Northwind.mdb;Persist Security Info=False"
con.open
rs=Server.CreateObject("Adodb.Recordset")
sql="Select * from..........."
set rs=con.execute(sql)
%>


Shweta
Dec 20 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Axel Dachtler | last post: by
3 posts views Thread by Omegamon | last post: by
3 posts views Thread by junaid | last post: by
3 posts views Thread by Niks | last post: by
1 post views Thread by Darren McDowell via .NET 247 | last post: by
1 post views Thread by ohs | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.