>>foreach (DataRow row in ds.Tables[0].Rows)
>>{
>> foreach (DataColumn column in ds.Tables[0].Columns)
>> {
>> Console.WriteLine (column.ColumnName + ": " + row[column.ColumnName].ToString());
>> }
>>}
>
>Don't think that will work if you want to add the row to an existing table since the Row generated from the XML would not be the same as the row created by DataTable.NewRow().
Yes, I think I'll keep it as a separate new dataset.
If it's not broken, fix it until it is.
My Blog