Boa noite gente com com o seguinte problema
Dim
conexao As MySqlConnection = New MySqlConnection()
conexao.ConnectionString =
"server=200.219.214.37;user id=xxx;password=xxx;database=xxx"
conexao.Open()
Dim comando As MySqlCommand = New MySqlCommand()
comando.CommandText =
"SELECT * from perfil"
comando.Connection = conexao
Dim dataread As MySqlDataReader = comando.ExecuteReader()
dataread.Read()
textodeentrada.Text = dataread(
"Texto").ToString()
imagem = dataread(
"foto").ToString()
conexao.Close()
Image1.Visible =
True
Image1.ImageUrl =
"../" & imagem
na minha conexao local funciona mas quando passo para o srvidor da o seguinte erro
Could not load file or assembly 'MySql.Data, Version=5.0.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified
tem como fazer uma conexao com MySql.Data.MySqlClient e usar o DNS como ficaria a string de conexao
junior71