cnnOLEDB.ConnectionString = strConnectionString 'MsgBox(strConnectionString) cnnOLEDB.Open() 'Timer1.Enabled = True Dim dt1 As New DataTable() dt1.Clear() Dim adp As New OleDb.OleDbDataAdapter("SELECT TOP 10 * FROM SMSDATA1DB ORDER BY Date_Time DESC", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & System.Environment.CurrentDirectory & "\SMSDB.mdb") adp.Fill(dt1) adp.Dispose() DGView.DataSource = dt1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)