
Need some help with DataGrids (DataGrid-->DataGrid, DataGrid-->Dataset, DataGrid-->XML)
You should be able to set the datasource property of the
second grid to the data source property of the first grid.
You can also set the datasource property of the datagrid
to a dataset.
Quote:
>-----Original Message-----
>[This followup was posted to
microsoft.public.dotnet.general and a copy was sent to the
cited author.]
Quote:
>#1 I have 2 windowsforms, and they each have a datagrid
in them. How
>do I copy "easily" copy the contents of the one datagrid
to the other?
>(Assuming that the datasource of the 1st datagrid is no
longer
>available)
>#2 How do I "export" a datagrid to a dataset? All
examples of
>datagrids/datasets show dataset-->datagrid -not- datagrid-
->dataset.
>Anyone?
>#3 (Well if I had an answer to #2 I guess I'd have an
answer to #3) I
>saw this asked before and noone answered it... How do
you export a
>datagrid to XML? If we could export to a dataset, it
would be easy from
>there... but is there a better way?
>.