Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub DBConn_PgSQL()
- db_string = "Server=localhost;Port=5432;Database=customer;username=postgres;password=wishimajaya"
- Conn4 = New NpgsqlConnection(db_string)
- Try
- Conn4.Open()
- MsgBox("PostgreSQL Succes")
- Catch ex As NpgsqlException
- MsgBox(ex.Message)
- End Try
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement