.NET Reflection is your friend. Can do much more than Progress reflection today (big sea of tears )
Attached is a sample helper class that dynamically get's and set's property values using reflection.