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

  • Thread starter Thread starter Thomas Beyerlein
  • Start date Start date
T

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
 
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.
 
Thomas Beyerlein said:
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
 
Back
Top