Andreas: Response.Write

Beitrag lesen

Hi nochmal,

habe schon eine While-schleife, wie kann ich da ne for-next schleife hinzufügen?

Mein Fall:

While Not rsSearch.EOF

if Request.Form("autor") <>"" then
     Response.Write "<SPAN CLASS='document'>" & _
     rsSearch("DocAuthor") & "</SPAN><BR>"
  end if

if Request.Form("titel") <>"" then
     Response.Write "<SPAN CLASS='document'>" & _
     rsSearch("DocTitle") & "</SPAN><BR>"
  end if

if Request.Form("keywords") <>"" then
     Response.Write "<SPAN CLASS='document'>" & _
     rsSearch("DocKeywords") & "</SPAN><BR>"
  end if

if Request.Form("Kategorie") <>"" then
     Response.Write "<SPAN CLASS='document'>" & _
     rsSearch("DocCategory") & "</SPAN><BR>"
  end if

if Request.Form("Dateiname") <>"" then
     Response.Write "<SPAN CLASS='document'>" & _
     rsSearch("Filename") & "</SPAN><BR>"
  end if

if Request.Form("Ordner") <>"" then
     Response.Write "<SPAN CLASS='document'>" & _
     rsSearch("Directory") & "</SPAN><BR>"
  end if

Response.Write rsSearch("Characterization") & "<BR>" & _
                   "<A HREF='" & rsSearch("Path") & "'>" & _
                   rsSearch("FileName") & "</A>" & _
                   " (" & rsSearch("Size") & " bytes)<P>"
  rsSearch.MoveNext
Wend

Bitte um Hilfe