next button
-
I am using asp. I will like my code to generate next button if my pageitem is more than 5. it each each row it will only display 5 items. once the row ismore than 5 items, it iwll have next button which user can click onnext button. now my code is like this <% i=1 do until prodSet.EOF if not i mod 4 = 0 then %> <% else %> <% ii=1 do until prodSet1.EOF if not ii mod 4 = 0 then %> <%else%> <% end if ii=ii+1 prodSet1.MoveNext Loop %> <% end if i=i+1 prodSet.MoveNext Loop %>
">" border="0">
">" border="0">
<%=prodSet1("prod1_name")%>
<%=prodSet1("prod1_name")%>
-
I am using asp. I will like my code to generate next button if my pageitem is more than 5. it each each row it will only display 5 items. once the row ismore than 5 items, it iwll have next button which user can click onnext button. now my code is like this <% i=1 do until prodSet.EOF if not i mod 4 = 0 then %> <% else %> <% ii=1 do until prodSet1.EOF if not ii mod 4 = 0 then %> <%else%> <% end if ii=ii+1 prodSet1.MoveNext Loop %> <% end if i=i+1 prodSet.MoveNext Loop %>
">" border="0">
">" border="0">
<%=prodSet1("prod1_name")%>
<%=prodSet1("prod1_name")%>
-
I am using asp. I will like my code to generate next button if my pageitem is more than 5. it each each row it will only display 5 items. once the row ismore than 5 items, it iwll have next button which user can click onnext button. now my code is like this <% i=1 do until prodSet.EOF if not i mod 4 = 0 then %> <% else %> <% ii=1 do until prodSet1.EOF if not ii mod 4 = 0 then %> <%else%> <% end if ii=ii+1 prodSet1.MoveNext Loop %> <% end if i=i+1 prodSet.MoveNext Loop %>
">" border="0">
">" border="0">
<%=prodSet1("prod1_name")%>
<%=prodSet1("prod1_name")%>
Hi, Check this link,It solves the problem, http://www.codeproject.com/asp/rspaging.asp regards, Manowj