allways skipping first record

Nov 8, 2009 at 12:36 PM

replace

if (oSQLiteDataReader.Read())
            {
                while (oSQLiteDataReader.Read())

 

by

if (oSQLiteDataReader.HasRows) { 

               while (oSQLiteDataReader.Read())