none
How to connect ".db" file as a database in vb.net? RRS feed

  • Question

  • Hello, how can I use a database.db file to connect to the sql database:

    Imports System.Data.SqlClient
    Imports System.Data.Sql
    
    Public Class Form1
    
    Dim sqlconn As New SqlConnection("Db\guardar.db")
    sqlconn.Open()
    
    End Class

    As you can see, this code is a bit wrong. Could you help me? What package should I import?

    Thursday, February 7, 2019 2:27 AM

All replies