"Object reference not set to an instance of an object" error

  • Thread starter Thread starter J. Muenchbourg
  • Start date Start date
J

J. Muenchbourg

I have a label object that gets a dynamic value thrown into it on a
button submit event:

lblMessage.InnerText = txtName.Value

but i get "Object reference not set to an instance of an object" error
on this particular line. All my other references seem correct.

???
Muench
 
We need to see the rest of your code. Where is the label being declared?
 

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

Back
Top