J
JohnR
I have a user defined class that contains about 20 private variables with
their associated properties and get-sets. I have named the properties with
very user readable names. I would like to generate a datagrid with 2
columns. One column would have the actual name of the property, and the
other would have the value of the property.
So, if I have a property called "User_Name" with a value of "Bill" I would
want it to show up in the grid like this:
Property Value
User_Name Bill
Now, getting the value is easy, but how can I get the actual name of the
property into a variable???
Thanks,
John
their associated properties and get-sets. I have named the properties with
very user readable names. I would like to generate a datagrid with 2
columns. One column would have the actual name of the property, and the
other would have the value of the property.
So, if I have a property called "User_Name" with a value of "Bill" I would
want it to show up in the grid like this:
Property Value
User_Name Bill
Now, getting the value is easy, but how can I get the actual name of the
property into a variable???
Thanks,
John