4/12/2023 0 Comments Set bitmap to imageviewer xamarinWe inserted the employee id, name, photo, and resume file into the table. Let’s have a look at the new_developer table after inserting the image and file into it. Image and file inserted successfully as a BLOB into a table InsertBLOB(2, "David", "E:\pynative\Python\photos\david.jpg", "E:\pynative\Python\photos\david_resume.txt") Print("Failed to insert blob data into sqlite table", error) Print("Image and file inserted successfully as a BLOB into a table") (id, name, photo, resume) VALUES (?, ?, ?, ?)"""ĭata_tuple = (empId, name, empPhoto, resume)Ĭursor.execute(sqlite_insert_blob_query, data_tuple) ![]() Sqlite_insert_blob_query = """ INSERT INTO new_employee SqliteConnection = nnect('SQLite_Python.db')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |