Thursday, April 21, 2011

VB2008 with MySQLConnector .net 6.1

I have the following code:

Imports MySql.Data.MySqlClient Imports MySql.Data.Types

Public Class FormMain

Private Sub FormMain_Load ...

  ' Open Database
  Dim objMySQL As New MySqlConnection

End Sub

End Class

I get the compiler error message: error BC30560: "MySqlConnection" ist im Namespace "MySql.Data.MySqlClient" nicht eindeutig. in English (I think): "MySqlConnection" is not unique in Namespace "MySql.Data.MySqlClient".

From stackoverflow

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.