1 / 15

Pemrograman VB.NET

Pemrograman VB.NET. Pertemuan 7. Code program Tombol Add List & simpan ke 2 table. Code program Tombol “Tambah”. Memanggil fungsi “AddList”. Penjelasan……. . Code program Tombol “Tambah”. 1. 2. 3. Penjelasan……. . Code program Tombol “Tambah”. 1. 2. 3.

viola
Download Presentation

Pemrograman VB.NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pemrograman VB.NET Pertemuan 7

  2. Code program Tombol Add List&simpan ke 2 table

  3. Code program Tombol “Tambah” Memanggil fungsi “AddList” Penjelasan……. 

  4. Code program Tombol “Tambah” 1 2 3 Penjelasan……. 

  5. Code program Tombol “Tambah” 1 2 3 • Mendeklarasikan variable “Value”, sekaligus mengisi variabel Value dengan sebuah ARRAY type String. ARRAY berupa isi dari masing-masing textbox yang ingin ditambahkan ke list view • Menjalankan fungsi “AddList” dengan mengirimkan parameter/nilai variable “Value” • Variabel “Total” diisi dengan menjumlahkan isi dr textbox txtTotal (txtTotal.text). Lalu menampilkan isi dari hasil penjumlahan variabel “Total” pada “txtGrandTotal.text”

  6. Code program Tombol “Tambah” Fungsi “AddList”

  7. Setiap isi textbox, akan ditambahkan ke dalam kolom ListView

  8. Perhatikan Grand Total! Menampilkan hasil dari penjumlahan TOTAL!!!

  9. Code program tombol “Simpan” Penjelasan……. 

  10. Code program tombol “Simpan” Intinya adalah menyimpan ke dalam 2 table sekaligus Simpan ke table SP Simpan ke table PESAN

  11. Code program Tombol Batal

  12. Code program tombol “Batal” Penjelasan……. 

  13. Code program tombol “Batal” Sama artinya dengan:

  14. Code program Tombol Keluar

  15. Code program tombol “Keluar”

More Related