Sunday, March 16, 2014

MySQL VB.NET Tutorial 1 : Getting Started and Mysql database Connection















Imports MySql.Data.MySqlClient

Public Class Form1
    Dim MysqlConn As MySqlConnection

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MysqlConn = New MySqlConnection
        MysqlConn.ConnectionString =
       "server=localhost;userid=root;password=root;database=database"

        Try
            MysqlConn.Open()
            MessageBox.Show("Connection Successful")
            MysqlConn.Close()

        Catch ex As MySqlException
            MessageBox.Show(ex.Message)
        Finally
            MysqlConn.Dispose()

        End Try

    End Sub
End Class










-----------------------------------------------------------------

Using MySQL Database with Visual Basic .NET 2010

MySQL :: MySQL for Visual Studio

How to connect to MySQL database from Visual Basic

Vb Connecting to an online mysql server database

Connecting to MySQL databases using VB.NET

VB.Net MySQL Database Tutorial

VB.NETWindows Form Application Mysql Connection

VB.NET- How can I connect to MySQL from windows forms?

Using Visual VB.NET Windows Forms with MySQL

VB.NET Programming for beginners: How to connect MySQL Database

Windows Form Application using Mysql Server

Connect MySQL from VB.NET Windows Forms

mysql problem to connect with windows form VB.NET

VB.NET Windows Form Application Mysql Connection

Mysql And Visual VB.NET 2010 Windows Form Application

MySQL :: Connecting to MySQL with a Windows Form application

VB.NET Form textbox string into SQL Database

visual VB.NET CLR windows form application and mysql

assembly reference not working in VB.NET script

Trying to connect to MySQL from VB.NET application

mysql and VB.NET window form application

How to connect MySQL using VB.NET?‎


IT Certification Category (English)640x480

Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com


Top Online Courses From ProgrammingKnowledge

Python Course http://bit.ly/2vsuMaS
Java Coursehttp://bit.ly/2GEfQMf
Bash Coursehttp://bit.ly/2DBVF0C
Linux Coursehttp://bit.ly/2IXuil0
C Course http://bit.ly/2GQCiD1
C++ Coursehttp://bit.ly/2V4oEVJ
PHP Coursehttp://bit.ly/2XP71WH
Android Coursehttp://bit.ly/2UHih5H
C# Coursehttp://bit.ly/2Vr7HEl
JavaFx Coursehttp://bit.ly/2XMvZWA
NodeJs Coursehttp://bit.ly/2GPg7gA
Jenkins Course http://bit.ly/2Wd4l4W
Scala Coursehttp://bit.ly/2PysyA4
Bootstrap Coursehttp://bit.ly/2DFQ2yC
MongoDB Coursehttp://bit.ly/2LaCJfP
QT C++ GUI Coursehttp://bit.ly/2vwqHSZ