Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'property' and 'method'
Message
De
24/02/2004 10:37:00
 
 
À
23/02/2004 11:22:27
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00879961
Message ID:
00880290
Vues:
21
>I have a web form that I can successfully build, but everytime I try to run, I get the following error in the HTML of my first page:
>"CS0118:'System.Web.UI.Page.Session' denotes a 'property' where a 'method' was expected.

Basically, that means you should put perenthsis after your call... eg, you did this:

MyVariable.ToString;

where you should have written:

MyVariable.ToString();

Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform