Vb.net with access Data Base tutorial
'Interop.ADODB.dll
Imports ADODB
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If TextBox1.Text = "" Or TextBox2.Text = "" Then
MsgBox("Please Enter the value")
Exit Sub
End If
Dim con As ADODB.Connection
con = New ADODB.Connection
'Interop.ADODB.dll
Imports ADODB
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If TextBox1.Text = "" Or TextBox2.Text = "" Then
MsgBox("Please Enter the value")
Exit Sub
End If
Dim con As ADODB.Connection
con = New ADODB.Connection