Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'property' and 'method'
Message
From
24/02/2004 10:37:00
 
 
To
23/02/2004 11:22:27
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00879961
Message ID:
00880290
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform