datatable X array of objects

  • Thread starter Thread starter cax
  • Start date Start date
C

cax

Hi there.
I am fixing an c# app. compiled to dotnet 1.1.
Yet I want to port it for dotnet 2.0. But in some part of code there is
a casting from an array of objects to a datatable that generates an
error on dotnet 2.
Anyone knows if there is changes from 1.1 to 2 on this class?

thx,

cax
 
As I can see it you have to know what object it is in the array. If it is
2.0 datatables the you can cast it to 2.0 datatables, but it sound like the
array has 1.1 datatables and I don't think you can cast them to 2.0
datatables. So go to the source where this array is created and change that
to create 2.0 datatables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top