Hi
is that posible to design asp paging
but it has to be
iPageSize = 20 'Change pages or
per page is 10 & then next page is 20 then rest of item ?
[code=asp]
<html>
<head>
<title>paging </title>
</head>
<body>
<%
Dim I, iPageSize
iPageSize = 20 'Change pages
Dim arrPhotoNames
arrPhotoNames = Array("1", "2", "3", "4", _
"5", "6", "7", "8", _
"9", "10", "11", "12", _
"13", "14", "15", "16",_
"17", "18", "19", "20", _
"21", "22", "23", "24", "25")
%><table border="1" ><tr><%
For I = LBound(arrPhoto Names) To UBound(arrPhoto Names)
%><td align="center"> <%
Response.Write arrPhotoNames(I )
%></td><%
If I Mod 5 = 4 Then
%></tr><tr><%
End If
Next 'I
%>
</tr>
</table>
</body>
</html>[/code]
is that posible to design asp paging
but it has to be
iPageSize = 20 'Change pages or
per page is 10 & then next page is 20 then rest of item ?
[code=asp]
<html>
<head>
<title>paging </title>
</head>
<body>
<%
Dim I, iPageSize
iPageSize = 20 'Change pages
Dim arrPhotoNames
arrPhotoNames = Array("1", "2", "3", "4", _
"5", "6", "7", "8", _
"9", "10", "11", "12", _
"13", "14", "15", "16",_
"17", "18", "19", "20", _
"21", "22", "23", "24", "25")
%><table border="1" ><tr><%
For I = LBound(arrPhoto Names) To UBound(arrPhoto Names)
%><td align="center"> <%
Response.Write arrPhotoNames(I )
%></td><%
If I Mod 5 = 4 Then
%></tr><tr><%
End If
Next 'I
%>
</tr>
</table>
</body>
</html>[/code]
Comment