
Java + SQL Unit 6
Presentation
•
Computers
•
University
•
Hard
Kittisay SENGTHONG
FREE Resource
12 Slides • 0 Questions
1
Java + SQL Unit 6
ລົບຜູ້ໃຊ້ງານ Delete User
2
#. ໄດ້ຮຽນຮູ້ຫຍັງແດ່
1. ຫຼັກການລົບຂໍ້ມູນ
2. ຄຳສັ່ງລົບຂໍ້ມູນ SQL Delete
3
I. ວິທີການລົບຂໍ້ມູນ
1. ກຳນົດເຫດການ
2. ກວດສອບຄວາມຖືກຕ້ອງ
3. ສ້າງ Method DeleteUser()
4. ຂຽນຄຳສັ່ງລົບຂໍ້ມູນ
5. ສະແດງຂໍ້ມູນ / ລ້າງຂໍ້ມູນ
4
1. ກຳນົດເຫດການ
ອະທິບາຍ: ກຳນົດເຫດການ ຄິກໃສ່ປຸ່ມລົບ
btn_deleteActionPerformed
5
2. ກວດສອບຄວາມຖືກຕ້ອງ
ອະທິບາຍ: ເຮົາຈະກວດສອບວ່າໄດ້ມີການເລືອກຜູ້ໃຊ້ຫຼືບໍ່ໂດຍກວດການ txt_ID ເພາະວ່າເຮົາຈະເອົາ ID ໄປແກ້ໄຂຂໍ້ມູນນັ້ນເອງ
6
7
3. ສ້າງ Method DeleteUser()
ອະທິບາຍ: ເຮົາຈະຂຽນຊຸດຄຳສັ່ງໃນການລົບຂໍ້ມູນຜູ້ໃຊ້ໃນ Method DeleteUser()
8
9
4. ຂຽນຄຳສັ່ງລົບຂໍ້ມູນ
ອະທິບາຍ: ເຮົາໃຊ້ຄຳສັ່ງ SQL DELETE ເພື່ອລົບຂໍ້ມູນ ໂດຍອ້າງ ID ຈາກ txt_ID ຈາກນັ້ນຈະໃຫ້ແຈ້ງເຕືອນແບບ YES_NO , ໃຊ້ຄຳສັ່ງກົດສອບວ່າກົດ YES ຫຼື NO ຖ້າກົດ Yes ຈະໃຫ້ລົບຂໍ້ມູນຜູ້ໃຊ້ງານ
10
11
5. ສະແດງຂໍ້ມູນ / ລ້າງຂໍ້ມູນ
ອະທິບາຍ:
showData(); ສະແດງຂໍ້ມູນ
ClearData(); ລ້າງຂໍ້ມູນ
12
Java + SQL Unit 6
ລົບຜູ້ໃຊ້ງານ Delete User
Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
9 questions
Rapid Application Development (RAD)
Presentation
•
University
7 questions
Kombel Quizizz
Presentation
•
KG
6 questions
SQL SELECT Statement 2
Presentation
•
University
6 questions
Java + MySQL Final 1
Presentation
•
University
12 questions
untitled
Presentation
•
KG - University
9 questions
Повторение
Presentation
•
Professional Development
8 questions
FPD Lesson
Presentation
•
12th Grade
10 questions
SQL - kortarsak
Presentation
•
12th Grade
Popular Resources on Wayground
20 questions
Math Review
Quiz
•
3rd Grade
15 questions
Fast food
Quiz
•
7th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
10 questions
Identify Fractions, Mixed Numbers & Improper Fractions
Quiz
•
3rd - 4th Grade
Discover more resources for Computers
20 questions
Guess The App
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
19 questions
Minecraft
Quiz
•
6th Grade - Professio...
40 questions
8th Grade Math Review
Quiz
•
8th Grade - University
20 questions
Block Buster Movies
Quiz
•
10th Grade - Professi...
10 questions
Would you rather...
Quiz
•
KG - University
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
14 questions
Superhero
Quiz
•
1st Grade - University