discusmania
IS-IT--Management
hi guys,
i've run this code:
<%
dim cs
cs="Provider=Microsoft.Jet.OLEDB.4.0;" &_
"DataSource=d:\inetpub\ ID=admin;Password="
Set cn = server.createobject("ADODB.Connection")
cn.open cs
strlocal_name="select distinct id,local_name from plant_listing order by local_name asc"
set rslocal=cn.Execute(strlocal_name)
%>
<html>
<head><title>
</title></head>
<body>
<% if not rslocal.eof then%>
<Table>
<tr><td>Senarai Tumbuhan</td></tr>
<%do until rslocal.eof%>
<tr>
<td><a href="plant_detail.asp?plant_id=<%=rslocal("id")%>" target=_top><%=rslocal("local_name")%></a></td>
</tr>
<%rslocal.movenext
loop
cn.Close%>
</table>
<%end if %>
</body>
</html>
and get the message:
Unspecified error
/dept/amt/software/fms/myown/plant_detail.asp, line 14
what's wrong with this?
this is my first attempt to use access db, prev i use oracle 8i
please help.
Regards, Ron
i've run this code:
<%
dim cs
cs="Provider=Microsoft.Jet.OLEDB.4.0;" &_
"DataSource=d:\inetpub\ ID=admin;Password="
Set cn = server.createobject("ADODB.Connection")
cn.open cs
strlocal_name="select distinct id,local_name from plant_listing order by local_name asc"
set rslocal=cn.Execute(strlocal_name)
%>
<html>
<head><title>
</title></head>
<body>
<% if not rslocal.eof then%>
<Table>
<tr><td>Senarai Tumbuhan</td></tr>
<%do until rslocal.eof%>
<tr>
<td><a href="plant_detail.asp?plant_id=<%=rslocal("id")%>" target=_top><%=rslocal("local_name")%></a></td>
</tr>
<%rslocal.movenext
loop
cn.Close%>
</table>
<%end if %>
</body>
</html>
and get the message:
Unspecified error
/dept/amt/software/fms/myown/plant_detail.asp, line 14
what's wrong with this?
this is my first attempt to use access db, prev i use oracle 8i
please help.
Regards, Ron