Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For each...
Message
De
14/12/1999 21:25:54
Christian Bellavance
Université du Québec à Hull
Hull, Québec, Canada
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Titre:
For each...
Divers
Thread ID:
00303828
Message ID:
00303828
Vues:
49
I am new to web development and I have a little problem. I have an object (Videos) that is a collection containning objects (Video). My Videos object as a enum method which work fine in VB. Now I am trying to create the list on a web page using ASP. Here is the code I am using:

<%
for each V in Videos
response.write ""
>%

<% =V.VideoTitle %>

<%
Response.write "" & V.ReleaseDate & ""
next

set Videos = nothing
%>

I always get an error saying "Object does not support this method or property" on the line "for each V in Videos". I guest that V as to be declared some how. If it is the case how do I do that?

thanks
Répondre
Fil
Voir

Click here to load this message in the networking platform