Delete Database Record With Treeview - Python Tkinter GUI Tutorial

Publié le: 25 mai 2021
sur la chaîne: John Elder
12,765
244

In this video I'll show you how to delete a record from our database using the Treeview and entry boxes in our Treebase app.


Deleting records from the database is pretty simple. We just connect to the database as usual, create a cursor as usual, then run one simple SQL command to delete a record with a specific ID.


When deleting records from any database, you always want to use that records unique id, or primary key, or in sqlite3's case, the rowid (oid).

#tkinter #codemy #JohnElder

Timecodes
0:00​​ - Introduction
1:43 - Connect To Database
2:23 - How Deleting From A Database Works
4:00 - Delete ID From Database
5:16 - Clear Entry Boxes
6:12 - Create Popup Box On Delete
8:21 - Conclusion


Sur cette page du site, vous pouvez voir la vidéo en ligne Delete Database Record With Treeview - Python Tkinter GUI Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur John Elder 25 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12,765 fois et il a aimé 244 téléspectateurs. Bon visionnage!