Re: FileNotFoundException inVB.NET with Connector .NET 1.0.7
Posted by:
Hool P
Date: April 07, 2006 02:57AM
Yes, I did not want to loose anyone´s time but here is the code, I presume the problem comes from the software version MySQL 5.0+.NET 1.07 that I am using.
Regards,
Imports System
Imports System.IO
Imports System.Data
'Imports CrystalDecisions.CrystalReports.Engine
Imports MySql
Imports MySql.Data
Imports MySql.Data.MySqlClient
Imports MySql.Data.MySqlClient.MySqlParameterCollection
Dim conn As MySqlConnection
Dim data As DataTable
Dim da As MySqlDataAdapter
Dim cb As MySqlCommandBuilder
Dim server, uid, pwd, dbname As String
Dim myConnectionString As String
Private Sub connect()
myConnectionString = "Server=127.0.0.1;Uid=root;Pwd=12345;Database=test;"
Try
conn.ConnectionString = myConnectionString
conn.Open()
Catch ex As MySql.Data.MySqlClient.MySqlException
MessageBox.Show(ex.Message)
End Try
End Sub
Subject
Written By
Posted
Re: FileNotFoundException inVB.NET with Connector .NET 1.0.7
April 07, 2006 02:57AM
September 19, 2006 11:30PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.