I am new in VB.NET I am now busy doing some exercises i want to move forward with Sql DataBase, so can someone explain me how to chose provider connection with Sql. below is the connection procedure I have been using so far
Imports System.Data.OleDb
Imports System.Runtime.Serialization.Formatters.soap
Public Class customerData
'Private Shared customers As New ArrayList()
Shared conHanDler As New OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\VB.NET\CustomerDB.mdb")
I would like to know how to change this line dealing with real Sql server Database
Any help please?
OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\VB.NET\CustomerDB.mdb")
Imports System.Data.OleDb
Imports System.Runtime.Serialization.Formatters.soap
Public Class customerData
'Private Shared customers As New ArrayList()
Shared conHanDler As New OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\VB.NET\CustomerDB.mdb")
I would like to know how to change this line dealing with real Sql server Database
Any help please?
OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\VB.NET\CustomerDB.mdb")