N
newbie
Hello,
I am using a propertygrid to allow users to edit\create objects at
runtime, that can update records in a database. There are certain
properties (fields) that I wish to display as comboboxs. Currently I
can create an enum, which the propertygrid displays as a combobox.
However since the comboxbox needs to be populated from a database
query, hardcoded enum's won't work. Is there a means with which to
create or define an enum at runtime? Or does anyone have sample code
on how to alter the behaviour of a propertygrid to display dynamiuc
data in a combobox?
newbie
I am using a propertygrid to allow users to edit\create objects at
runtime, that can update records in a database. There are certain
properties (fields) that I wish to display as comboboxs. Currently I
can create an enum, which the propertygrid displays as a combobox.
However since the comboxbox needs to be populated from a database
query, hardcoded enum's won't work. Is there a means with which to
create or define an enum at runtime? Or does anyone have sample code
on how to alter the behaviour of a propertygrid to display dynamiuc
data in a combobox?
newbie