SlideShare a Scribd company logo
1 of 9
Download to read offline
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜົນດາລາ
ພັດທະນາເວບແອບພລີເຄເຊີນດ້ວຍ JSP
Condition
Loop
ບົດທີ 5 Condition and Loop
 Condition
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
1.1. if
ບົດທີ 5 Condition and Loop
ຕົວຢ່າງ 5.1
 Condition
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
1.2. if …. else
ບົດທີ 5 Condition and Loop
ຕົວຢ່າງ 5.2
 Condition
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
1.3. if …. elseif … else
ບົດທີ 5 Condition and Loop
ຕົວຢ່າງ 5.3
 Condition
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
1.4. switch
ບົດທີ 5 Condition and Loop
ຕົວຢ່າງ 5.4
 Loop
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
2.1. for
ບົດທີ 5 Condition and Loop
ຕົວຢ່າງ 5.5
 Loop
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
2.2. while
ບົດທີ 5 Condition and Loop
ຕົວຢ່າງ 5.6
ໂດຍ: ອ.ຈ ພອນປະເສີດ ຜ ົນດາລາ
ບົດທີ 5 Condition and Loop

More Related Content

More from Phonepaseuth Phonhdala

Lab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບ
Lab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບLab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບ
Lab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບPhonepaseuth Phonhdala
 
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນPhonepaseuth Phonhdala
 
ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBox
ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBoxພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBox
ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBoxPhonepaseuth Phonhdala
 
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButtonພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButtonPhonepaseuth Phonhdala
 
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່Phonepaseuth Phonhdala
 
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipseຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipsePhonepaseuth Phonhdala
 
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນPhonepaseuth Phonhdala
 

More from Phonepaseuth Phonhdala (20)

Lab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບ
Lab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບLab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບ
Lab 13 ການລົບມູນແຫຼມ EditText, Button ແລະການເລືອກຮູບ
 
Lab 12 Firebase Authentication
Lab 12 Firebase AuthenticationLab 12 Firebase Authentication
Lab 12 Firebase Authentication
 
Lab 11 qr and bar code
Lab 11 qr and bar codeLab 11 qr and bar code
Lab 11 qr and bar code
 
Lab 10 gride view
Lab 10 gride viewLab 10 gride view
Lab 10 gride view
 
Lab 9 list view
Lab 9 list viewLab 9 list view
Lab 9 list view
 
Lab 3 date picker dialog
Lab 3 date picker dialogLab 3 date picker dialog
Lab 3 date picker dialog
 
Lab 2 time picker dialog
Lab 2 time picker dialogLab 2 time picker dialog
Lab 2 time picker dialog
 
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
 
ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)
 
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
 
ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)
 
ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)
 
ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBox
ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBoxພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBox
ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBox
 
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButtonພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
 
Chapter2
Chapter2Chapter2
Chapter2
 
Chapter1
Chapter1Chapter1
Chapter1
 
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
 
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipseຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
 
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
 
ບົດທີ 6 Client/Server
ບົດທີ 6 Client/Serverບົດທີ 6 Client/Server
ບົດທີ 6 Client/Server
 

ບົດທີ 5 Condition and Loop