Dim connectionString As String
Dim cnn1 As OleDbConnection
Dim cmd1 As OleDbCommand
Dim sql1 As String
connectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = d:\sprrg\sprrg.mdb"
sql1 = "update po_detail set po_number=" & txtPoNo.Text & " where po_number=0;"
cnn1 = New OleDbConnection(connectionString)
cnn1.Open()
cmd1 = New OleDbCommand(sql1, cnn1)
cmd1.ExecuteNonQuery()
cmd1.Dispose()
The table is not getting updated. Kindly help...