ho fatto cosi:
<% sSQL="Select Count(ID) as Conta from News;"
objRS.Open sSQL, objConn, 3, 3
Set objRs = Server.createObject("ADODB.Recordset")
%>
<%
objRs.Open strSQL, objConn
%>
<%
Response.Write("Nel database sono presenti ")
%>
<%
Response.Write(objRs("Conta"))
Response.Write(" news in totale.")
%>
<%
objRs.Close
Set objRs = Nothing
%>
ma mi da errore
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
Default.asp, line 140

Rispondi quotando