Hi
i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box.
Currently i am creating the items in my property grid which just need to be a textfield like so:
private int _objTypeID;
[CategoryAttribute("Object State Defaults"), DescriptionAttribute("Object type ID")]
public int ObjectTypeID
{
get
{
return _objTypeID;
}
set
{
_objTypeID = value;
}
}
But i have no idea how to add combo boxes to it.
Any help is much appreciated.
Thanks in advanced
Chris