Object reference not set to an instance of an object.

J

John

Hello,

I have created a simple component that I dragged onto my
web form but get the error "Object reference not set to an
instance of an object. " In the code behind page of my
webform I have properly declared a variable of the web
control type, what could be the p varem? Thanks,
John
 
K

Ken Cox [Microsoft MVP]

A common cause of this error is forgetting to create the object with New.

Worth a check.

--

Important: Patch Windows *beyond* Blaster.
http://www.microsoft.com/technet/security/bulletin/MS03-039.asp


Hello,

I have created a simple component that I dragged onto my
web form but get the error "Object reference not set to an
instance of an object. " In the code behind page of my
webform I have properly declared a variable of the web
control type, what could be the p varem? Thanks,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,078
Messages
2,570,570
Members
47,204
Latest member
MalorieSte

Latest Threads

Top