Dear,
Is it possible to add an property to an interface. The getter and setter
should use the default indexed method Value[AFieldName].
By example adding a property Address wich uses as getter Value['Address']
and as setter Value['Address'] = .... (value).
grtz,
Henrik
Henrik de Jong - 10 Aug 2004 14:51 GMT
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
> Dear,
>
[quoted text clipped - 5 lines]
> grtz,
> Henrik