G
Guest
I have an object and I want to reference one of it's properties at run-time.
Normally if I Knew the property I would write something like:
transrow.GroupDescription = "test data".
but if I had a string variable with the value "GroupDescription" How would
I call this method of the 'transrow' object using this string?
I have tried: transrow.GetType().GetProperty("GroupDescription") = "test
data" but it doesn't seem to work.
Any Ideas? Thanks
Normally if I Knew the property I would write something like:
transrow.GroupDescription = "test data".
but if I had a string variable with the value "GroupDescription" How would
I call this method of the 'transrow' object using this string?
I have tried: transrow.GetType().GetProperty("GroupDescription") = "test
data" but it doesn't seem to work.
Any Ideas? Thanks