Accessing Child Controls from a parent datalist or datagrid contro

G

Guest

OK fellow developers...

I am running into a new problem. I have developed a datalist

Inside the datalist I have a label

What I want to do is set the label value using a class I developed. The
only problem is I keep getting the dreaded

Object reference not set to an instance of an object

However I do have the label declared

public Label lbl_Month;

I am getting <undefined value> for my label...

Do I need to find the control in the datalist???
 

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
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top