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

  • Thread starter Thread starter Royer12
  • Start date Start date
R

Royer12

Guest
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?

Continue reading...
 
Back
Top