Specified method is not supported."} System.Exception

Sep 24, 2009 at 9:07 PM

Hello

great library,

I am reading an xslx file (xml)

While excelReader.Read() <font size="2">

 

</font>

Dim colcount As Int32 = excelReader.FieldCount

For cnt = 0 To colcount - 1

Dim thisType As Type = excelReader.GetFieldType(cnt)

Dim colvalue As Object = excelReader.GetValue(cnt) <font size="2">

 

</font>

Next cnt

End While

 

but I get Specified method is not supported."} System.Exception

whenever I use methods such as GetFieldType etc

What am I doing wrong?

I want to determince the type of each cell to get over the mutiple datatypes in a column.

Thanks

P