- Home /
Errors from sqlite
Whenever I do any GetInt32 or GetString value on my sql database I get this error:
InvalidOperationException: No current row Mono.Data.Sqlite.SqliteDataReader.CheckValidRow () Mono.Data.Sqlite.SqliteDataReader.VerifyType (Int32 i, DbType typ) Mono.Data.Sqlite.SqliteDataReader.GetString (Int32 i) (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteDataReader:GetString (int) SqliteManager.OnGUI () (at Assets/Editor/Utility/SqliteManager.cs:72) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
The thing about this, it works with GetValue. It will return my data just fine with GetValue. But that same thing as GetInt32 or GetString, when the data I am trying to access most definitely is a String, gives me the above error.
Anyone have ideas?