Results 1 to 2 of 2

Thread: adding datatable within a datatable

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    USA
    Posts
    74

    Question adding datatable within a datatable

    Hi All,

    Is there anyway that I can add a datatable within a datatable in a dataset.

    The XML representation would be:
    <NewDataSet>
    <DataTable1 >
    <DataRow11>test</DataRow11>
    <DataRow12>test</DataRow12>
    <DataTable2>
    <DataRow21>test</DataRow21>
    <DataRow22>test</DataRow22>
    </DataTable2>
    </DataTable1>
    </NewDataSet>

    How can I add DataTable2 to DataTable1??

    Any help would be appreciated.

    Thanks in advance.
    Thanks
    Manju

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    You can't do that, instead you would have to have a DataSet, then you can add multiple tables to it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width