Loading

Tuesday, April 6, 2010

How to connect MS Access Database using Visual Basic.Net


Sample Source Code:
imports System.Data
Public Con As New Oledb.OledbConnection()
Con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" & Application.StartupPath & "\database.mdb"
Note : Your database named database.mdb should be the location of your exe file i.e \bin\Database\Bin






SHARE TWEET

Thank you for reading this article How to connect MS Access Database using Visual Basic.Net With URL https://x-tutorials.blogspot.com/2010/04/how-to-connect-ms-access-database-using.html. Also a time to read the other articles.

0 comments:

Write your comment for this article How to connect MS Access Database using Visual Basic.Net above!