numbering with asp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • panda_asp

    numbering with asp


    i need some one to help me how to do numbering with asp.
    for example if i want to display 10 titles in a page and the others
    shown on the next pages.i.e 1.2.3.4.5 etc.
    thanks for quick response.



    --
    panda_asp
    ------------------------------------------------------------------------
    Posted via http://www.codecomments.com
    ------------------------------------------------------------------------

  • Jon Paal [MSMD]

    #2
    Re: numbering with asp



    you could use a loop or some other technique..depe nds upon how the titles are being derived.



    Comment

    • michal

      #3
      Re: numbering with asp

      ive written a nice component for paging but the tutorial is
      unfortunately in german .. the class is documented in english though.
      here is the link http://www.grafix.at/michal/2005/05/...t-gemacht.html
      cheers
      michal

      Comment

      • Evertjan.

        #4
        Re: numbering with asp

        panda_asp wrote on 28 mrt 2007 in
        microsoft.publi c.inetserver.as p.general:
        i need some one to help me how to do numbering with asp.
        for example if i want to display 10 titles in a page and the others
        shown on the next pages.i.e 1.2.3.4.5 etc.
        <% ' vbscript
        dim n
        n = 1 ' on each page you should hard wire the starting count
        %>

        <%
        response.write n & ": <br>"
        n = n + 1
        %>
        Blah blah.<br>
        Blah blah.<br>
        Blah blah.<br>
        <%
        response.write n & ": <br>"
        n = n + 1
        %>
        Blah blah.<br>
        Blah blah.<br>
        Blah blah.<br>
        <%
        response.write n & ": <br>"
        n = n + 1
        %>
        Blah blah.<br>
        Blah blah.<br>
        Blah blah.<br>


        =============== ===============

        <%@ LANGUAGE = JScript %>
        <% // jscript
        var n = 1; // on each page you should hard wire the starting count
        %>

        <% = n++ + ': <br>'; %>
        Blah blah.<br>
        Blah blah.<br>
        Blah blah.<br>
        <% = n++ + ': <br>'; %>
        Blah blah.<br>
        Blah blah.<br>
        Blah blah.<br>
        <% = n++ + ': <br>'; %>
        Blah blah.<br>
        Blah blah.<br>
        Blah blah.<br>
        thanks for quick response.
        Why quick? On usenet requesting haste is often felt not done.

        --
        Evertjan.
        The Netherlands.
        (Please change the x'es to dots in my emailaddress)

        Comment

        Working...