C#/winforms: how to best bind a propertygrid and a System.Data.DataRow
问题 i have System.Data.DataRows with several fields, most of them just plain types like int, single, string. what is the best way to make them editable using a propertygrid? it should work automatically no matter what kind of fields the datarow has, but it should not display all of them. i want to provide a list of properties that should be hidden. since the DataTable is autogenerated i cannot add custom attributes like [Browsable(false)] thanks a lot! 回答1: Edited to handle filtering; much