Home All Groups Group Topic Archive Search About

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

Author
16 Feb 2006 2:57 PM
Thomas Beyerlein
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 ***

Author
16 Feb 2006 4:24 PM
Cerebrus99
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.
Author
16 Feb 2006 6:18 PM
Armin Zingler
"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.databinding
microsoft.public.dotnet.framework.windowsforms.controls


Armin