How to Connect to MySQL with Visual Basic .Net?

Posted by: Admin  :  Category: Mysql

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

This short tutorial shows how to connect to MySQL server using Visual Basic .Net.
Video Rating: 4 / 5

Linux Cpanel shared hosting: 600 GB disk space, 6 TB bandwidth, free domain, unlimited databases and ftp accounts, web hosting cheap and pro at Hostony

8 Responses to “How to Connect to MySQL with Visual Basic .Net?”

  1. SridharanTiru Says:

    This is imminent when the class object been created without the key word “new”. Or another probable cause of this is improper definition inside the constructor. If these two does not work, then try the same code starting a new project.

  2. Cowboyz209 Says:

    Good Example, I tried running this but get Object reference not set to an instance of an object. referring to myForm1.lblStatus.BackColor = Color.Red, Any ideas how to fix this?

  3. SridharanTiru Says:

    Link has been provided in the video to download the source code. No need to copy. Thanks.

  4. gmodzero Says:

    Too much work to put links in description? Its pretty annoying to copy them from video… Otherwise nice video I try to get it working!

  5. qwaxer Says:

    @mirwais69 Or else get the code and find a converter on the internet they are really easy to find

  6. mirwais69 Says:

    ok… does it matter if you have a C# application or VB… i am thinking that connection to the visual studio, should be the same for VB or C#. I am kind of lost with this code and creating of the preferrences etc…. How can you help me connect my SQL database using C#….?

  7. SridharanTiru Says:

    Try as a ‘localhost’ instead of using ip address that will help test the connectivity problem. If you are trying to connect remotely firewall exemption should be added to the particular port. Hope this helps.

  8. sajidctn Says:

    plz see and help me what am do ??
    watch?v=Ipggfejz38s

Leave a Reply

*