PropertyGrid with DataSet or DataGridView

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JerryShaw
    New Member
    • Aug 2009
    • 1

    PropertyGrid with DataSet or DataGridView

    Problem: create a new winform app in C# VS2008.
    Drop a PropertyGrid component, Drop a DataSet (untyped)
    Set the PropertyGrid.Se lectedObject to the DataSet.
    Run the application, and try to select the table editor.
    Can not bring up the tables collection editor

    Drop a DataGridView, set the PropertyGrid.Se lectedObject to the DataGridView.
    Can not access the Columns collection.

    A little history, I am building a Form Designer. I want to allow the user to define the data tables, and their columns.

    Any help on how to get the UIEditors for these components to function within the propertygrid component ?

    // Jerry
Working...