G
Guest
I currently have a SQL join which combines 2 tables. I then update only one
of the tables with new information. While this works easily in ADO, I am
having trouble figuring out how to do this in ADO.NET. I first tried to do
an update using a SQL JOIN DataSet, but that gave me an error, I then tried
to create 2 different DataTables (1 from each table) and adding a
DataRelation, but I need to produce a DataTable that combines the two with
the columns in a specific order. I want to pass this DataTable to a method
that will then display the columns in that order without the method having to
know that I have 2 DataTables. Any ideas?
of the tables with new information. While this works easily in ADO, I am
having trouble figuring out how to do this in ADO.NET. I first tried to do
an update using a SQL JOIN DataSet, but that gave me an error, I then tried
to create 2 different DataTables (1 from each table) and adding a
DataRelation, but I need to produce a DataTable that combines the two with
the columns in a specific order. I want to pass this DataTable to a method
that will then display the columns in that order without the method having to
know that I have 2 DataTables. Any ideas?