here is my code, it is very simple

        Me.Validate()
        Me.TableBindingSource.EndEdit()
        Me.TableTableAdapter.Update(Me.Database1DataSet.Table)
        MsgBox("Update successful!", MsgBoxStyle.OkOnly, "")
        Me.TableTableAdapter.Fill(Me.Database1DataSet.Table)

Actually, I have been programming for a year or two three years ago but I stopped after my laptop was stolen and due to work.
But now I I have a new laptop, and upgraded from vb 2008 to 2013. I have been through all these kind of errors before and it is so surprising that I can no longer solve them. Please please help

Recommended Answers

All 2 Replies

What's the error you get and in wich line?

This is already resolved. Thanks. There just has to be a primary key.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.