asp listeleme sayfamda
for x = 2009 to 2010
döngüsü yani listeleme var.
bu koldarı iptal edip sadece 2010 yazdığımda hata alıyorum bunu yıllara göre listelemek istiyorum nasıl yapmalıyım ?
5
●648
Set TarihListele = Server.CreateObject(ADODB.RecordSet)
sql="Select * From tabloadi Where yil=2010 ORDER BY yil DESC"
TarihListele.Open sql,Baglanti,1,3
If Not TarihListele.Eof Then
Do While Not TarihListele.Eof
Response.Write TarihListele("baslik")
TarihListele.MoveNext : Loop
End If
TarihListele.Close : Set TarihListele = NothingBu işini görür sanırım. Kolay gelsin.