Jeg kan simpelthen ikke få det til at køre...
Er der nogle der kan indbygge dette eksempel:
http://www.activeserverpages.dk/aspdigital/kapitel2/paging.asp
i denne kode:
<CENTER>
<%
If Request.QueryString("catid") = "" then
CatID = 0
Else
CatID = Request.QueryString("catid")
End If
CatTitle = Request.QueryString("cattitle")
strSQL = "SELECT * FROM links WHERE CatID = " & CatID & " ORDER BY LinkName
ASC; "
Set objRec2 = objConn.Execute (strSQL)
'Output the body tag.
Response.Write LSPageBody1
DO UNTIL objRec2.EOF
'Print out the <TABLE> HTML
Response.Write LSResTable%>
<tr><table border="1" width="700" bgcolor="#BECAD6" bordercolor="#000000">
<%=LSResR1C1 & FONT2%><a href="redirect.asp?linkid=<%= objRec2("LinkID") %>"
target="_top"><%= objRec2("LinkName") %></a> - <%=
objRec2("LinkDesc")%><BR></font><FONT FACE="Verdana, Times New Roman"
SIZE="1" color="000000"><br>Bedømmelse/Niveau : <FONT COLOR="000000"><%=
objRec2("LinkWord")%><br>Antal Downloads : <FONT COLOR="000000"><%=
objRec2("LinkHits")%> - <a href="redirect.asp?linkid=<%= objRec2("LinkID")
%>" target="_top">Download</A></FONT></FONT></FONT><hr size="1"
color="#000000"></td>
<%=LSResR1C2%>
<%If Request.QueryString("admin") = "dellink" then%>
<input type="checkbox" name="field" value="<%=objRec2("LinkID")%>">
<%End If%></td>
</tr>
</table><br>
<%
'Move to the next record in the record set.
objRec2.MoveNext
LOOP
</CENTER>
På forhånd tak...