Connecting Tech Pros Worldwide Forums | Help | Site Map

PropertyGrid with DataSet or DataGridView

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 1 '09
Problem: create a new winform app in C# VS2008.
Drop a PropertyGrid component, Drop a DataSet (untyped)
Set the PropertyGrid.SelectedObject 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.SelectedObject 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

Reply

Tags
dataset, designer, propertygrid