(rs.MoveNext) method does not work

Results 1 to 2 of 2

Thread: (rs.MoveNext) method does not work

  1. #1
    Join Date
    Dec 1969
    Posts
    10

    Default (rs.MoveNext) method does not work

    Hi, <BR><BR>i have another problem, I am trying to call a 2 asp page from a recordsetloop within first asp page, <BR>below is a snippet of my code, <BR> <BR> &#060;% do while NOT rs.EOF %&#062; <BR> &#060;tr&#062; <BR> &#060;td valign="top" bgcolor="#FFFFFF"&#062;&#060;b&#062;&#060;font face="Arial" color="#330066"&#062;&#060;strong&#062;&#060;%Resp onse.Write rs("c1")%&#062;&#060;/strong&#062;&#060;/font&#062;&#060;/b&#062;<BR> <BR> &#060;small&#062;&#060;strong&#062;&#060;font face="Arial"&#062;&#060;%Response.Write rs("d1")%&#062;&#060;/font&#062;&#060;/strong&#062;&#060;/small&#062;<BR> <BR> &#060;font face="Arial"&#062;&#060;%Response.Write rs("e1")%&#062;<BR> <BR> &#060;% <BR>sqltext2="SELECT c1,d1,e1,f1,g1 FROM News" <BR>strSQL=Server.URLEncode(sqltext2)%&#062;&#060; small&#062;read the &#060;a href="/index.asp?SQL=&#060;%=strSQL%&#062;"&#062;complete index.&#060;/a&#062;&#060;/small&#062;<BR> <BR> &#060;/font&#062;&#060;!--webbot bot="HTMLMarkup" startspan --&#062;&nbsp;&#060;!--webbot bot="HTMLMarkup" endspan --&#062;&#060;/td&#062; <BR> &#060;/tr&#062; <BR> &#060;%rs.MoveNext%&#062; <BR> &#060;%Loop%&#062; <BR><BR>What I want, is that during the first iteration, the 2 asp page is called and only the first row values should be displayed, <BR>for the next iteration, the next row, and so on... <BR><BR>Now the problem is that, in the 2 page, all the values of only the first row keeps getting displayed for all the rows. it does not display the correct corresponding row&#039s values, <BR>I am not sure, why it is happenning this way, <BR>can anyone help me?? <BR>Thanks,<BR> <BR>

  2. #2
    Vivek Nama Guest

    Default (rs.MoveNext) method does not work

    sorry i could not understand well which code belongs to which page<BR>send me mail with included asp pages at vnama@corbus.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •