Eric,
You need to use GetField() since it's not a property. Also because default Reflection only retrieves public fields you either need to change the field to public or alternate use explicit binding flags to include non-public members like this:
Label loLabel = (Label) this.GetType().GetField("lblWelcome",BindingFlags.NonPublic | BindingFlags.Public |BindingFlags.Instance).GetValue(this);
+++ Rick ---
>Sorry to get back on this but I just tried this code:
>
Label x = new Label();
>this.GetType().GetProperty("label1").GetValue(this,null);
>MessageBox.Show(x.Text);
>
>but I received the 'System.NullReferenceException' exception. Any ideas?
>
>
>>>HI Rick.
>>>
>>>Do you know if it is working using Windows forms too?
>>
>>Sure. Reflection works on any type.