![]() |
|||||||||
Home
| Listă cursuri | Cum
funcționează | Demo |
Înscriere |Argument |
Știri | Articole | F.
A. Q. | Suport
| |
|||||||||
![]() |
<%
'---------------------------------------------------------------------------
' The SQL below selects all the records from the Table articles
'---------------------------------------------------------------------------
msql = "SELECT * FROM articles order by Isue_Nr ASC"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open msql, myConn, 1,3
If request.querystring("PageNumber") = "" Then
intPageNum = 1
Else
intPageNum = CInt(request.querystring("PageNumber"))
End If
If RS.Eof or RS.Bof Then
response.write("No records available...")
response.end
End If
' Change you value of how many records per page here
RS.PageSize = 20
%>
Total: <%= RS.recordcount %>  articole; Pagina  <% For i = 1 To RS.PageCount If Cint(Request.Querystring("PageNumber")) = i Then Response.Write "[" & i & "] " Else Response.Write "" & i & " " End If Next x = (RS.RecordCount - 9) Mod 12 %>
Total: <%= RS.recordcount %>  articole; Pagina  <% For i = 1 To RS.PageCount If Cint(Request.Querystring("PageNumber")) = i Then Response.Write "[" & i & "] " Else Response.Write "" & i & " " End If Next x = (RS.RecordCount - 9) Mod 12 RS.Close myConn.Close Set RS = Nothing Set myConn = Nothing %> |
||||||||
Home
| Listă cursuri | Cum
funcționează | Demo |
Înscriere |Argument |
Știri | Articole | F.
A. Q. | Suport
| |
|||||||||
(c) 2004 - Soft
4 Web - O divizie a Direct
Learning Systems |
|||||||||

