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

Is it possible to have different columns of a datagrid bound to different datatables?

P: n/a

Is it possible to have different columns of a datagrid bound to
different datatables?

I am working on a project and the specks have suddenly changed. Now a
item can have multiple reports/ versions assigned to it. But they like
the look of the datagrid and want to keep it. So now I have one column
that can have more than one row. If anyone has any suggestion it would
be very helpful.

Thanks
Tom

*** Sent via Developersdex http://www.developersdex.com ***
Feb 16 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
AFAIK, A Datagrid can be bound to a DataSet or a DataView.
And a DataSet or a DataView can in turn contain multiple DataTables.

So, as long as all your DataTables are present in the same Dataset or
Dataview,
the answer in my opinion is a resounding YES !

Regards,

Cerebrus.

Feb 16 '06 #2

P: n/a
"Thomas Beyerlein" <tb***@yahoo.com> schrieb

Is it possible to have different columns of a datagrid bound to
different datatables?

I am working on a project and the specks have suddenly changed. Now
a item can have multiple reports/ versions assigned to it. But they
like the look of the datagrid and want to keep it. So now I have one
column that can have more than one row. If anyone has any suggestion
it would be very helpful.


I don't see the relation to the VB.Net language. Have a look here:

microsoft.public.dotnet.framework.windowsforms.dat abinding
microsoft.public.dotnet.framework.windowsforms.con trols
Armin
Feb 16 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.