SHARE
TWEET

Untitled

a guest May 25th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Imports System.Data.OleDb
  2.  
  3. Module Module1
  4.     '======UNTUK KONEKSI PROJECT/FORM KE DATABASE
  5.     Public conn As OleDbConnection
  6.     Public cmd As OleDbCommand
  7.     Public rd As OleDbDataReader
  8.     Public da As OleDbDataAdapter
  9.     Public ds As DataSet
  10.  
  11.     Sub koneksi()
  12.         conn = New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=db_rentalmobil.mdb")
  13.         If conn.State = ConnectionState.Closed Then
  14.             conn.Open()
  15.         End If
  16.     End Sub
  17. End Module
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top