How do you set a Datagrid obj to a specific Datagrid?

  • Thread starter Thread starter KC
  • Start date Start date
K

KC

How can I set a newly created DataGrid object equal to a particular DataGrid
in my app? I'm loading data from a file and one of the things the file
contains is the name of the datagrid used to view the data.


something like:

Dim dg as DataGrid
Dim nameOfDataGrid as string
....
[read file and get datagrid name]
....
dg = nameOfDataGrid
 
Hi KC,

The question needs more explanation in my opinion.

However a datagrid exist of a lot of references which are to references
again.

One of those which you can take fast is the datasource,
There is no problem at all using the same datasource for 2 datagrids, when
you want partially data, then 2 new dataviews is in my opinion the most
simple way to go.

When you are meanign the whole datagrid than I think is the way to go making
your own datagrid inheriting the original one.

When this is not what you mean, reply?

Cor
 
Back
Top