Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hey people i ahve finally got round the error i used to have regarding the insert into syntax error.

 

I am now trying to add on textbox to its field in the database but when i click the button it does not do anythin, it does not throw up an error message at all, can you please help and see if anythin is wong with the follwing code? thanks

 

 

Private Sub btnsave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsave.Click
Dim cb As New OleDb.OleDbCommandBuilder(ClientTableAdapter.Adapter)

       EclypseLiveDS.Client.Rows(0).Item(1) = txtfirstname.Text

       ClientTableAdapter.Update(EclypseLiveDS.Client)
End sub

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...