Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Empty or Null
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01303548
Message ID:
01303606
Vues:
20
>>Ok, before I go absolutely crazy - why I can not make this simple thing to work?
>>
>>String selValue = this.lsbUsers.SelectedItem.ToString ;
>>
>>gives me
>>
>>Error 1 Cannot convert method group 'ToString' to non-delegate type 'string'. Did you intend to invoke the method? C:\Development\Visual Studio 2005\WebSites\FCAdmin\AddUsers\Default.aspx.cs 211 27 C:\...\FCAdmin\
>
>Did you mean:
>
>string selValue = this.lsbUsers.SelectedItem.ToString();
>
>
>(note the parenthesis)
>
>or more probably:
>
>
>string selValue = this.lsbUsers.SelectedItem.Text.ToString();
>
Yes, getting tired.

Thanks a lot for all your help.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform