G
Guest
Hi. I have a typed dataset in a windows forms app with a PropertyGrid control
in which I am displaying the currently selected item from one of the tables
in the dataset. By default, this means that all properties of the currently
selected item are displayed, including RowState, HasErrors, etc.
Ordinarily you can show/hide properties such as these in the property grid
using BrowsableAttribute. Is there any way to decorate the dataset schema to
do this, or will I have to wrap the currently selected item in a class that
exposes column values as properties (with BrowsableAttribute appropriately
applied)?
Thanks
kh
in which I am displaying the currently selected item from one of the tables
in the dataset. By default, this means that all properties of the currently
selected item are displayed, including RowState, HasErrors, etc.
Ordinarily you can show/hide properties such as these in the property grid
using BrowsableAttribute. Is there any way to decorate the dataset schema to
do this, or will I have to wrap the currently selected item in a class that
exposes column values as properties (with BrowsableAttribute appropriately
applied)?
Thanks
kh