2008 — Contoh Aplikasi Program Penjualan Dengan Vb.net

' Kurangi stok cmd = New OleDbCommand("UPDATE barang SET stok = stok - @qty WHERE kode_barang = @kode", conn, trans) cmd.Parameters.AddWithValue("@qty", row("qty")) cmd.Parameters.AddWithValue("@kode", row("kode_barang")) cmd.ExecuteNonQuery() Next trans.Commit() MsgBox("Transaksi berhasil disimpan") dtDetail.Clear() total = 0 lblTotal.Text = "0" Catch ex As Exception trans.Rollback() MsgBox("Error: " & ex.Message) End Try TutupKoneksi() End Sub

Fitur untuk menangani pengembalian barang jika terjadi kerusakan atau kesalahan. 3. Manajemen Stok & Pembelian contoh aplikasi program penjualan dengan vb.net 2008

Artikel ini akan mengupas tuntas mengenai , mulai dari konsep dasar, perancangan database, hingga implementasi kode programmnya. ' Kurangi stok cmd = New OleDbCommand("UPDATE barang

Privacy Preference Center

    Necessary

    These cookies are used to allow visitors to log on our site, complete purchases, track the consent about the processing of data, process payments and show the correct content on each section of the site.

    aelia_billing_country, aelia_cs_selected_currency, aelia_customer_country, aelia_customer_state, PHPSESSID, woocommerce_cart_hash, woocommerce_items_in_cart, wp_woocommerce_session_*, __stripe_mid,__stripe_sid, gdprprivacy_bar, gdpr[allowed_cookies], gdpr[consent_types],

    Advertising

    Analytics

    These cookies are used to collect statistics about the website's performance, and sales statistics. By collecting this information, we are able to offer you a better experience and improve our line of products.

    _ga,_gat,_gid, __utma,__utmb,__utmc,__utmt,__utmv,__utmz,is_unique,sc_is_visitor_unique,__cfduid
    is_unique,sc_is_visitor_unique,__cfduid

    Other