Dim con As New OleDb.OleDbConnection
Dim dbpro As String = "Provider = Microsoft.Jet.OleDB.4.0; "
Dim dbsource As String = " DATA SOURCE = d:/EasySale.mdb "
con.ConnectionString = dbpro & dbsource
If Not (con.State = ConnectionState.Open) Then
con.Open()
End If
Dim sqlCount As New OleDb.OleDbCommand
sqlCount .Connection = con
sqlCount .CommandText = "SELECT COUNT(sale_head_id) FROM sale_head"
MessageBox.show(sqlCount .ExecuteScalar())
Date :
2013-04-22 09:09:49
By :
CPU4Core
No. 2
Guest
Date :
2014-10-29 16:33:11
By :
ััััดกดก
No. 3
Guest
อยากรู้วิธี เชื่อม acess 2013 กับ Visual studio 2013