Forums
This topic is locked
Here is my code!
Posted 19 Apr 2002 22:48:59
1
has voted
19 Apr 2002 22:48:59 Magnus Magnus posted:
Now i can not wait any longer, i have to get this going again. Now my broblem is that i can not get the db connection to work, heres is the recordset...<%@LANGUAGE="VBSCRIPT"%><!--#include file="Connections/loggin2.asp" -->
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset"
Recordset1.ActiveConnection = MM_loggin2_STRING
Recordset1.Source = "SELECT * FROM anvandare"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
And here is the loggin-string....
MM_loggin2_STRING = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\inetpub\wwwroot\intranat\db\barbar.mdb"
Please can someone help me, i dont know what to do. I have to have the progam working!!!!