PENGOLAHAN DATABASE MENGGUNAKAN VB.NET DATABASE MENGGUNAKAN ACCESS DATABASE NAME : PERPUSTAKAAN TABEL 1 : BUKU FIELD : - KODE_BUKU CHARACTER 10 JUDUL BUKU CHARACTER 40 PENGARANG CHARACTER 15 PENERBIT CHARACTER 15 TANGGAL_BELI DATE STATUS CHARACTER 1
DUL
MODUL Imports System.Data.OleDb Module Module1 Public koneksi As OleDbConnection Public data As DataSet Public baca As OleDbDataReader Public adaptor As OleDbDataAdapter Public cmd As OleDbCommand Public ass As DataTable Public str As String Public Sub buka() str = "provider=microsoft.jet.oledb.4.0;data source=nama_database.mdb" koneksi = New OleDbConnection(str) If koneksi.State = ConnectionState.Closed Then koneksi.Open() End If End Sub End Module