Dynamic Attributes for Remoting
I don't know if this is the right forum for this post, but I thought I'd give it a shot.
I want to use the PropertyGrid control in my application, but I want to be able to supply information to the grid at run time. The way the grid works is it uses remoting to read the attributes on the properties of the class you supply it. What I want to be able to do is to set those attributes dynamically so that I can store the data for my objects in the database and use a single generic object to wrap that data.
So does anyone know how I would modify the attribute (metadata) of an object at runtime?