Visual Basic Database Connection and Insert Query

How to create database connection in Visual Basic ? Here, we are going to use Visual Basic 2010 and MS Access 2010. Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click         Dim cnn As OleDbConnection = New OleDbConnection         Dim cmd As OleDbCommand = New OleDbCommand … Read more