bunun yerine
for i = 1 to objrs.recordcount
if not objrs.eof then
bunu ekle
while not objrs.eof
ve bunun yerine
end if
objrs.movenext()
next
bunu
objrs.movenext()
wend
ASP ile hazırlanan HTML email içinde döngü oluşturmak (Yardım)
16
●963
- 11-08-2010, 14:35:10Üyeliği durduruldudenom adlı üyeden alıntı: mesajı görüntüle
while not objrs.eof bolum2 = & "<table width=""860"" border=""1"" cellpadding=""0"" cellspacing=""0"">" & vbcrlf _ & "<tr>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ bolum2 = "" objrs.movenext wendHata Tipi: Microsoft VBScript derleme hatası (0x800A0401) Deyim sonu gerekli /test/email_html.asp, line 53 while not objrs.eof
burada ortaya her ne koyarsan koy
response.write "hehe"
bile çalışmıyor ;
Hata Tipi: Microsoft VBScript derleme hatası (0x800A0401) Deyim sonu gerekli /test/email_html.asp, line 53 while not objrs.eof
- 11-08-2010, 14:58:02böyle olmalı sanırım.
strBody = "<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.0 Transitional//EN"">" & vbCrLf _
& "<table width=""860"" border=""1"">" & vbcrlf _
& "<tr>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Başvuru Numarası" & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Başvuru Tipi" & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Marka adı" & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Sınıflar" & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Başvuru Tarihi" & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Yenileme Tarihi" & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& "Başvuru Ülkesi" & vbcrlf _
& "</th>" & vbcrlf _
& "</tr>" & vbcrlf _
& "</table>"
' BURADAN İTİBAREN DÖNGÜ BAŞLAMALI
while not objrs.eof
bolum = "<table width=""860"" border=""1"" cellpadding=""0"" cellspacing=""0"">" & vbcrlf _
& "<tr>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "<th scope=""col"">" & vbcrlf _
& objrs("kod_no") & vbcrlf _
& "</th>" & vbcrlf _
& "</tr>" & vbcrlf _
& "</table>"
response.write bolum
objrs.movenext()
wend
' DÖNGÜ BURADA BİTMELİ - 11-08-2010, 15:04:43Üyeliği durduruldubu çıktıyı ekrana bastı

hem de verinin formdan gelmesini beklemeden.
<%= Request.ServerVariables("URL") %>aynı sayfa içinde form. - 11-08-2010, 23:14:35Kimlik doğrulama veya yönetimden onay bekliyor.birde söyle dener misin? eğer hata verirsede hatayı buraya yazarmısın acaba tam olarak istediğin şekli anlayamadım anladığım kadarıyla yazdım
Do While Not objrs.EOF bolum2 = & "<table width=""860"" border=""1"" cellpadding=""0"" cellspacing=""0"">" & vbcrlf _ & "<tr>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ & "<th scope=""col"">" & vbcrlf _ & objrs("kod_no") & vbcrlf _ & "</th>" & vbcrlf _ bolum2 = "" objrs.MoveNext Loop - 11-08-2010, 23:23:53Üyeliği durduruldutamam dostum teşekkur ederim yarın deniyeceğim.Twinsens adlı üyeden alıntı: mesajı görüntüle
