NullReferenceException with Datatable.Clone()

  • Thread starter Thread starter C. Vollmer
  • Start date Start date
C

C. Vollmer

Hi,

I get a NullReferenceException when I try Datatable.Clone(). The
Datatable is in a Dataset with many other Datatables. Anybody had the
same problem? Dataset.Clone() does work on the parent dataset.
Thanks,
Christoph
 
Hmm, seems to be a problem with my relations. The table has columns
which redirect to a parent table, so it seems to be impossible to clone
the schema of the table without the parent table. Or other ideas?

Christoph
 
Christoph,

This seems logical to me.

However, to be sure could you please try the same operation on the desktop
and let me know if it works the same way. Thanks.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 
Back
Top