x


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?

more ▼

asked Nov 22 '11 at 10:47 PM

eem gravatar image

eem
216 21 23 25

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x232
x62
x49
x1

asked: Nov 22 '11 at 10:47 PM

Seen: 817 times

Last Updated: Nov 22 '11 at 10:47 PM