<tablewidth = "100 ٪" border = "0" cellpadding = "0" cellpacing = "0" cellpacing = "0">
<٪ dowhilenotrs.eof ٪>
<tr>
<tdheight = "80"> <imgsrc = "<٪ = rs (" picture ") ٪>" width = "160" height = "80"> </td>
</r>
<٪ i = i+1
IFI> = maxperpagetheneexitdo
Rs.Movenext
حلقة
٪>
</table>
يتم ترتيب السجلات على النحو التالي:
1
2
3
4
5
إذا كنت أرغب في تغيير ترتيب السجل إلى
123
45
إذن كيف أقوم بتغيير الرمز أعلاه ، الرجاء مساعدتي
نسخة الكود كما يلي:
<tablewidth = "100 ٪" border = "0" cellpadding = "0" cellpacing = "0" cellpacing = "0">
<٪ i = 0
dowhilenotrs.eof
ifimod3 = 0then ٪>
<tr>
<٪ endif ٪>
<tdheight = "80"> <imgsrc = "<٪ = rs (" picture ") ٪>" width = "160" height = "80"> </td>
<٪
إذا (i+1) mod3 = 0then
٪>
</r>
<٪ endif ٪>
<٪
i = i+1
IFI> = maxperpagetheneexitdo
Rs.Movenext
حلقة
٪>
</table>