Accessing Child Controls from a parent datalist or datagrid contro

Discussion in 'ASP .Net' started by =?Utf-8?B?TW9vampvbw==?=, Jul 8, 2005.

  1. 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???
    =?Utf-8?B?TW9vampvbw==?=, Jul 8, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page