none
How can i solved this connection RRS feed

  • Question

  • Imports System.IO
    Imports MySql.Data.MySqlClient
    Module ModCS
        Dim st As String
        Public Function ReadCS() As String
            Using sr As StreamReader = New StreamReader("server=localhost; Database=abc; integrated security=true; user id=root; password=abc123")
                st = sr.ReadLine()
            End Using
            Return st
        End Function
        Public ReadOnly cs As String = ReadCS()
    End Module
    Wednesday, August 30, 2017 12:08 AM

All replies