Add custom property at runtime to an interface

H

Henrik de Jong

Some additional information:

I've got an business-object wich has a property Value wich will retreive the
value of a databasefield. To bind this object to an datagrid this object
should implement the IEnumerable and the IEnumerator. So far, so good. But
the datagrid need some published properties to show in the grid. Because it
is a sort of generic business-object with a generic property Value for
retreiving and storing data to and from my object. What I want to do is to
generate some properties at runtime wich should be used by the datagrid.

Thanks in advance,
Henrik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top