
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
Magnetic Storage
Presentation
•
University
12 questions
Search Engines Short Course
Presentation
•
University
9 questions
test of c- 1
Presentation
•
Professional Development
9 questions
media and innovation
Presentation
•
University
7 questions
Getting an ID card - Preparation
Presentation
•
University
7 questions
Last Class
Presentation
•
University
9 questions
GRASP
Presentation
•
University
8 questions
Pemanfaatan Quizizz Dalam Pembelajaran
Presentation
•
KG - University
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
15 questions
LGBTQ Trivia
Quiz
•
University
36 questions
8th Grade US History STAAR Review
Quiz
•
KG - University
25 questions
5th Grade Science STAAR Review
Quiz
•
KG - University
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
20 questions
5_Review_TEACHER
Quiz
•
University
10 questions
Applications of Quadratic Functions
Quiz
•
10th Grade - University
10 questions
Add & Subtract Mixed Numbers with Like Denominators
Quiz
•
KG - University
20 questions
Block Buster Movies
Quiz
•
10th Grade - Professi...