 <p>There is no issue with the first approach. I presume you are trying to iterate over few <code>DataTimerPicker</code> controls. If so, can you check the <code>Name</code> property of each <code>DataTimerPicker</code> control instances. I suppose it should be, datetimeBi1,datetimeBi2,datetimeBi3 ( just guessing after seeing your code).</p> <p>Meantime, you can also check the immediate parent of your child controls ( DateTimePicker).</p>