S
Suresh
Hi,
How to set the TextBox text property using Reflection.
Or to that matter any property of a control.
Iam having trouble writing a function of the style
public static void SetPropertyValue(Object target, string
property_name(as the text or width), object propertyvalue)
{
target - get type;
type- property of given name;
use reflection to set the value;
}
Can also please suggest some good tutorials on reflection.
Thanks
Suresh
How to set the TextBox text property using Reflection.
Or to that matter any property of a control.
Iam having trouble writing a function of the style
public static void SetPropertyValue(Object target, string
property_name(as the text or width), object propertyvalue)
{
target - get type;
type- property of given name;
use reflection to set the value;
}
Can also please suggest some good tutorials on reflection.
Thanks
Suresh