
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
10 questions
Warm-up 2
Presentation
•
University
11 questions
Equality and Diversity
Presentation
•
University
7 questions
Membuat Soal di Quizizz
Presentation
•
KG - University
11 questions
SEO -repaso
Presentation
•
University
8 questions
ROrg Abschlussquiz
Presentation
•
University
6 questions
7. Latihan Dasar MQTT ESP32 Publish
Presentation
•
University
12 questions
WORD Y EXCEL
Presentation
•
University
10 questions
Unit 3- Set 3
Presentation
•
KG - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade