Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass ClientID in OnClientClick
Message
De
17/03/2008 11:59:39
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01301882
Message ID:
01302672
Vues:
18
>>It doesn't like this line:
>>
>>
>>ArrayList list = new ArrayList() { "One", "Two", "Three" };
>>
>>Do you know how can I fix it?
>>
>
>What does the error message say?
>
>I'm going to guess you are missing:
>
>using System.Collections;
>
>Add that to the top of the .cs file.

I think the problem is that she is using an ArrayList instead of an Array. AFAIK, you can't add items to an ArrayList like she is trying.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform