T
thomasp
What do I need to add to the following code to be able to add a record to an
Access Database using VB.NET 2005 Express?
Dim da As New OleDb.OleDbDataAdapter("Select * from LCMR", cn)
Dim dt As New DataTable()
da.Fill(dt)
Dim dr As DataRow
dr = dt.NewRow
With dr
.Item("ATime") = strTime
.Item("ADate") = strDate
End With
dt.Rows.Add(dr)
Access Database using VB.NET 2005 Express?
Dim da As New OleDb.OleDbDataAdapter("Select * from LCMR", cn)
Dim dt As New DataTable()
da.Fill(dt)
Dim dr As DataRow
dr = dt.NewRow
With dr
.Item("ATime") = strTime
.Item("ADate") = strDate
End With
dt.Rows.Add(dr)