Steve

Steve

  • NA
  • 2
  • 0

See a dataset on another form

Jun 26 2009 10:57 PM

I have 2 forms. On form 1 is a dataset containing a datatable. 
On form 2 I have a datagrid view and I want to bind the columns of the DGview(on form 2) to the datatable on form 1
In the property box for the datagrid view, the "choose datasource" combo box does not "see" the dataset so it won't allow me to add a project data source to bind the columns.
When a datgrid view and a dataset are on the same form this problem does not happen and I can bnd columns but the problem here seems to be because the datagrid view and the dataset are on different forms.
Any ideas on how I can get the datagrid to see the dataset in the property box?
Any suggestions??
Thanks for your help and advice
Regards, Steve