By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,642 Members | 1,474 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,642 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi KC,

The question needs more explanation in my opinion.

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

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?

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.