Why MS Access adodb in .NET returns 34 in fieldcount when table has 42 fields ?

Posted by RocketSurgeon on Stack Overflow See other posts from Stack Overflow or by RocketSurgeon
Published on 2010-04-12T14:31:27Z Indexed on 2010/04/12 14:43 UTC
Read the original article Hit count: 213

Filed under:
|
|

Why MS Access adodb in .NET returns 34 in fieldcount when table has 42 fields ? I see 42 fields in table of my MS Access mdb database. But ADODB layer in .NET sees only 34 fields. The Outofrange exception occures when I am calling method getOrdinal("FieldName") of reader class.

Is it something I am missing in setting up connection, license or anything?

Thank you

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about ADO.NET