1 / 9

GUI Programming Homework #2: Threads Programming Example Outline & Solution

Learn to design tasks, connect to a database, execute SQL queries, display results in a table, Threads & GUI Programming. Boost your skills now!

agene
Download Presentation

GUI Programming Homework #2: Threads Programming Example Outline & Solution

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GUI Programming IS 313 2.18.2003

  2. Homework #2 Either Threads Programming example Outline

  3. Homework #2 solution • Three Commands • ShowAll • FindByName • Delete

  4. ShowAll • No input necessary • Join to get room description • Custom display loop

  5. FindByName • First / Last input • Prepared statement • Built-in display

  6. Delete • Most complex command • Transaction required • Must iterate through Capacity table

  7. Code

  8. Question • More GUI Programming • On to Threads?

  9. Design task • Database URL • Connect button • If successful, • SQL query • Query type • Buttons to execute query • Table to display results

More Related