M
Matt
Hi,
I have an xsd which contains two tables, for the sake of this example
I'll call them Person and Salutation. Person contains personal
details, plus a key reference to the salutation table which contains
salutations i.e. Mr Ms Mrs etc.
So, I have filled the two tables in the xsd and would like to display
the results of a join on these two tables (linking the salutation key
to an actual salutation) into a datagrid (web or client doesn't
matter). I cannot write custom SQL in the DAL and feed that into the
grid, I have to use the given tables in the xsd.
So my question is, other than writing logic to iterate over the person
data and insert the correct salutation into a new dataview and pass
this to the grid, is there an alternative? Can you specify how to join
ado.net datatables - in a view for example?
Thanks in advance,
Matt
I have an xsd which contains two tables, for the sake of this example
I'll call them Person and Salutation. Person contains personal
details, plus a key reference to the salutation table which contains
salutations i.e. Mr Ms Mrs etc.
So, I have filled the two tables in the xsd and would like to display
the results of a join on these two tables (linking the salutation key
to an actual salutation) into a datagrid (web or client doesn't
matter). I cannot write custom SQL in the DAL and feed that into the
grid, I have to use the given tables in the xsd.
So my question is, other than writing logic to iterate over the person
data and insert the correct salutation into a new dataview and pass
this to the grid, is there an alternative? Can you specify how to join
ado.net datatables - in a view for example?
Thanks in advance,
Matt