MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.
Private Sub test() Dim ConnectionString As String = "C:\Users\Des\Documents\Visual Studio 2008\Projects\QD-People\test1.dta" Dim cnn As New SQLite.SQLiteConnection() cnn.ConnectionString = "Data Source=" & ConnectionString & ";" Dim cmd As SQLite.SQLiteCommand cmd = cnn.CreateCommand Dim p1 As New SQLiteParameter("pTest") p1.Direction = ParameterDirection.Input p1.Value = #1/2/1948# cmd.Parameters.Add(p1) 'cmd.CommandText = "INSERT INTO tblSessions (Connection, StartTime) VALUES ('" _ ' & ConnectionString & "'," & "(@test)" & ");" cmd.CommandText = "INSERT INTO tblSessions (Connection, StartTime) VALUES " _ & "('" _ & ConnectionString _ & "'," _ & "(@test)" _ & ");" MsgBox(cmd.CommandText) cnn.Open() cmd.ExecuteNonQuery() cmd.Dispose() cnn.Close() cnn.Dispose() End Sub