Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. using (SQLiteCommand getBooklet = new SQLiteCommand($"SELECT "rowid", File_Name FROM Booklets WHERE Id = {int.Parse(key)}", dbConnection))
  2.  
  3. using (SQLiteDataReader currentCustomerReader = getBooklet.ExecuteReader(System.Data.CommandBehavior.KeyInfo & System.Data.CommandBehavior.SequentialAccess))
  4.  
  5. currentCustomerPdf = currentCustomerReader.GetBlob(1, true);
  6.  
  7. System.InvalidOperationException: No RowId is available
  8. at System.Data.SQLite.SQLiteBlob.Create(SQLiteDataReader dataReader, Int32 i, Boolean readOnly)
  9. at System.Data.SQLite.SQLiteDataReader.GetBlob(Int32 i, Boolean readOnly)
  10. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement