Forums
This topic is locked
I'M new to ASP, NEED HELP!
03 May 2007 08:12:13 me me posted:
hi everyone,i m a new user at this site....
I m a begineer of web programming...
for the completion of my degree i hav to make some project...
i want to make a simple web site in ASP,,,using dreamweaver at front and database in SQL Server...
i need help to get the thing started..
i dont know how to start it out....how to start working on dreamweaver...
i tried it by reading help....but i faced problems while connecting to database..
Replies
Replied 04 May 2007 10:29:42
04 May 2007 10:29:42 pedro notirk replied:
<%
conString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Server.MapPath("foldername/database.mdb" & ";"
set con=Server.CreateObject("ADODB.Connection"
con.ConnectionString=conString
con.Open
' the database is open, now you can retrieve, delete, update etc records
con.Close
%>
hope this helps
by da way where you from?
yeah! bling bling men...abz'
Edited by - kibotizer on 04 May 2007 10:30:59
conString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Server.MapPath("foldername/database.mdb" & ";"
set con=Server.CreateObject("ADODB.Connection"
con.ConnectionString=conString
con.Open
' the database is open, now you can retrieve, delete, update etc records
con.Close
%>
hope this helps
by da way where you from?
yeah! bling bling men...abz'
Edited by - kibotizer on 04 May 2007 10:30:59