Ricky Andes | selamat malam rekan- rekan ku kali ini saya akan membahas sedikit tentang cara mengkoneksikan antara Database acces dengan visual basscic. oke tak usah panjang lebar alagi kita mulai ajh langsung ke tkpp. hehehe
1. Langkah pertama silahkan agan- agan buka aplikasi visual basi. caranya buka project -> pilih module.
Imports System.Data.Odbc
Imports System.Data
Imports System.Data.OleDb
Module Module1
Public X As Integer
Public S As String = ""
Public T As String = ""
Public proses As New Cskader
Public tblkader As DataTable
Public CNN As OleDbConnection
Public OLECMD As OleDbCommand
Public RD As OleDbDataReader
Public KONEKSI As String = "provider=microsoft.ACE.OLEDB.12.0;Data source =" & _
Application.StartupPath & "\komunitas.mdb;"
End Module
oke sekian dulu sharing kita malam ini semoga bermanfaatt
Terima kasih :)
Saturday, June 7, 2014
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment