Not able to update database [modified]
-
I am not able to update database even though I have the code right from what I know. Any help will be appreciated. Here is the code for add record once changes have been made.
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click If Ds1.HasChanges() Then da1.Update(Ds1) MsgBox("done") Else MsgBox("not done") End If End Sub
-- modified at 19:57 Wednesday 26th July, 2006 -
I am not able to update database even though I have the code right from what I know. Any help will be appreciated. Here is the code for add record once changes have been made.
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click If Ds1.HasChanges() Then da1.Update(Ds1) MsgBox("done") Else MsgBox("not done") End If End Sub
-- modified at 19:57 Wednesday 26th July, 2006 -
I am not able to update database even though I have the code right from what I know. Any help will be appreciated. Here is the code for add record once changes have been made.
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click If Ds1.HasChanges() Then da1.Update(Ds1) MsgBox("done") Else MsgBox("not done") End If End Sub
-- modified at 19:57 Wednesday 26th July, 2006did you set the correct permission to the back end? If no error trap and wrong permission then NO update. Postmaster http://www.programmingknowledge.com/[]
-
I am not able to update database even though I have the code right from what I know. Any help will be appreciated. Here is the code for add record once changes have been made.
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click If Ds1.HasChanges() Then da1.Update(Ds1) MsgBox("done") Else MsgBox("not done") End If End Sub
-- modified at 19:57 Wednesday 26th July, 2006 -
I presume Ds1 is a Dataset, how many tables are there and do each table include a primary key.
GUERVEN Truth or Consequence