Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to put Sub functions?
Message
De
23/10/2003 17:39:20
 
 
À
23/10/2003 17:37:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00841315
Message ID:
00841864
Vues:
30
>>Thanks<

No problem.

~~Bonnie

>>Are you trying to make your function static or whatever it's called in VB ... and if so, you haven't done that, so you need to instantiate your class first. Plus, you've mad the AddSpeaker() method private, so there's no way you're gonna be able to access it. It needs to be public.
>
>I changed it to Public, add this at the top:
>
>
>      Dim loSpeaker As MFUG._Function
>
>
>and change the line to:
>
>
>            ' Speaker 1
>            lcHtml = lcHtml + loSpeaker.AddSpeaker(lnSpeaker1, _
>             loData.Tables("Temp").Rows(lnCompteur)("SpeakerPicture1"), _
>             loData.Tables("Temp").Rows(lnCompteur)("Speaker1"), _
>             loData.Tables("Temp").Rows(lnCompteur)("SpeakerBio1"))
>
>
>and that works great.
>
>Thanks
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform