Home All Groups Group Topic Archive Search About
Author
11 Jul 2005 3:21 PM
dotnettester
I have a web control and I am using a Label Server Control to write the output.

It gives me a 'Object reference not set to an instance of an object.' error.
Can't figure out what I'm doing wrong.

Any clue?

Author
11 Jul 2005 5:14 PM
Patrice
It means that the object is not initialized (null in C# or Nothing in
VB.NET). You'll have to call "new" to initialize the object.

Patrice

--

Show quoteHide quote
"dotnettester" <dotnettes***@discussions.microsoft.com> a écrit dans le
message de news:5C7EE2F3-226D-4318-9CC6-58E3D74905A2@microsoft.com...
> I have a web control and I am using a Label Server Control to write the
output.
>
> It gives me a 'Object reference not set to an instance of an object.'
error.
> Can't figure out what I'm doing wrong.
>
> Any clue?