none
OdbcDataReader slow RRS feed

  • Question

  • I have a problem reading *.dbf with :

    OdbcDataReader

    I't looks like its reading entire rows when all i want to do is:

    *.contains

    in a certen ordinal.

    Do
    While myReader.read
    If myReader.GetString(myReader.GetOrdinal("column")).Contains("item") Then

    The symtom is that if i select column 1 it uses 300 around milliseconds, but if i use colum 71 it uses around 16 seconds....
    so it looks like its reading it'self over to column 71.... (If this was any clear....?)

    (so sorry for my lousy english)

    thankyou in advance

    Ø.O

    Thursday, March 5, 2009 1:51 PM

All replies