VB Project Source Code

Showing posts with label Vb.net with access data base 2. Show all posts
Showing posts with label Vb.net with access data base 2. Show all posts

Thursday 11 June 2015

Vb.net with access data base 2

Vb.net with access data base 2



'Interop.ADODB.Dll
Imports ADODB


Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim con As ADODB.Connection











        con = New ADODB.Connection
        con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=vbdotnetwithaccess.mdb"
        con.Open()







        Dim RS As New ADODB.Recordset