Typed Dataset and BrowsableAttribute

  • Thread starter Thread starter Guest
  • Start date Start date
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
 

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

Back
Top