J
Jiho Han
I have 3 sql tables which are related to one another and I am trying to
create a dataset that represents a subset of columns in those tables. In
other words, the dataset will have 3 DataTables and however many necessary
DataRelations that represent the connections among them. My question is
that is there a way to create a DataView that represent a single view from
all three tables, so that I can easily bind it to a datagrid for example?
It seems that DataView's constructor only takes a single DataTable. This is
puzzling and maybe I am incorrect to think that DataView is synonymous with
SQL views. As you know in sql you can create a view that selects from
multiple tables with whatever criteria you specify.
Thanks for your help.
Jiho
create a dataset that represents a subset of columns in those tables. In
other words, the dataset will have 3 DataTables and however many necessary
DataRelations that represent the connections among them. My question is
that is there a way to create a DataView that represent a single view from
all three tables, so that I can easily bind it to a datagrid for example?
It seems that DataView's constructor only takes a single DataTable. This is
puzzling and maybe I am incorrect to think that DataView is synonymous with
SQL views. As you know in sql you can create a view that selects from
multiple tables with whatever criteria you specify.
Thanks for your help.
Jiho