Visual Basic 2015 – Create new OleDB Connection

December 16, 2015 | By | Reply More

I just installed the new Microsoft Visual Basic 2015. I want to build a database data entry using Visual Basic 2015. Here I want to show you how to create a new database connection on Visual Basic 2015. I use MS Access as the back end database and will be connected using OleDB connection.

The form design

Its a simple form with one button to execute or open the database connection. We can expand this later.

connectDatabase_form

The Code

The code inside Connect button

 

Tags: , ,

Category: Programming, VisualBasic.NET

Leave a Reply