PDA

Click to See Complete Forum and Search --> : adding datatable within a datatable


manju
May 11th, 2004, 11:10 AM
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.

Serge
May 14th, 2004, 11:02 AM
You can't do that, instead you would have to have a DataSet, then you can add multiple tables to it.