B
Brett Wesoloski
So I created my dataset class. Then added my datatables and the columns to
the data tables.
What I want to do is when I fill the datatable have one of the columns be
another datatable so that I can create my complex type when I get the XML.
So lets say I have two tables Stop_Location and Stop_Address
Table Stop_Location
Column Stop_Name
Column Stop_City
Column Stop_Address
Table Stop_Address
Column Stop_Address1
Column Stop_Address2
Then when I fill table Stop_Location I would like Stop_Address to actually
be the columns from table Stop_Address.
I tried to make Stop_Address a datatype of object then when adding my row to
Stop_Location I tried to add a row for the stop_Address column as the
Stop_Address table.
But that gives me an error of "does not implement IXmlSerializable interface
therefore can not proceed with serialization."
Any help would be appreciated.
TIA,
Brett
the data tables.
What I want to do is when I fill the datatable have one of the columns be
another datatable so that I can create my complex type when I get the XML.
So lets say I have two tables Stop_Location and Stop_Address
Table Stop_Location
Column Stop_Name
Column Stop_City
Column Stop_Address
Table Stop_Address
Column Stop_Address1
Column Stop_Address2
Then when I fill table Stop_Location I would like Stop_Address to actually
be the columns from table Stop_Address.
I tried to make Stop_Address a datatype of object then when adding my row to
Stop_Location I tried to add a row for the stop_Address column as the
Stop_Address table.
But that gives me an error of "does not implement IXmlSerializable interface
therefore can not proceed with serialization."
Any help would be appreciated.
TIA,
Brett