hvor er fejlen?
Jeg for følgende fejl:Fejltype:
ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
<%
Dim billedrec
ID = request.querystring("id")
strDBPath = Server.MapPath("../db/db.mdb")
Set objConn = Server.CreateObject("ADODB.Connection")
Set billedrec = Server.CreateObject("ADODB.Recordset")
objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strDBPath & ";"
billedrec = "select * from billeder where id=" & ID & ";"
set rs = objConn.execute(billedrec)
%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><%= rs("billed" & ID & ";") %></td>
</tr>
</table>
</body>
</html>
<%
objConn.Close
Set rs = Nothing
%>
