异常:Java.Lang.IllegalStateException: Couldn‘t read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
出现该问题一般分为两种情况:
1.请求的字段不在表中,可能是大小写没写对。(我就是Id写成id出现的错误)
2.字段类型不匹配。
Xamarin.Android 使用 SQLite 出现 Couldn't read row 0, col -1 from CursorWindow. 异常
原文地址:https://www.cnblogs.com/swjian/p/9360731.html
时间: 2024-10-08 23:28:35