DataRow "inaccessible due to its protection level"

  • Thread starter Thread starter Earl
  • Start date Start date
E

Earl

What am I doing wrong here?

DataRow drNew = new DataRow();
gives me an exception: "inaccessible due to its protection level"

The equivalent code in VB.Net executes fine.
 
Earl,

What version of VB.Net

In my idea it is impossible as you write because in this way the datarow has
not any information at all where it has to get its column descriptions.
(That is why a datarow is forever connected to a datatable).

Cor
 
Back
Top