
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
7 questions
Java GUI Unit 3 Workshop (1)
Presentation
•
University
6 questions
Base de datos NoSQL
Presentation
•
University
11 questions
Lesson 1: CIA: The Industry Standard
Presentation
•
University
10 questions
Processing
Presentation
•
12th Grade
12 questions
Chapter 8 Quiz
Presentation
•
University
9 questions
Cloud Storage Quiz
Presentation
•
University
8 questions
Java GUI Unit 5 Workshop (1)
Presentation
•
University
10 questions
Kuis Digital Marketing
Presentation
•
University
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Review 4
Quiz
•
3rd Grade
11 questions
HSMS - Standard Response Protocol
Quiz
•
6th - 8th Grade
16 questions
1.1-1.2 Quiz Review
Quiz
•
9th - 12th Grade
12 questions
Exponent Expressions
Quiz
•
6th Grade
20 questions
Adding and Subtracting Integers
Quiz
•
6th - 7th Grade
11 questions
Northeast States
Quiz
•
3rd - 4th Grade
10 questions
Characterization
Quiz
•
3rd - 7th Grade
10 questions
Common Denominators
Quiz
•
5th Grade