Hi

I have a vb.net form connected to an access database using vb.net .All my other button except for the add new button

If Valid = True Then
            CustomerBindingSource.AddNew()
            Me.TableAdapterManager.UpdateAll(Me.DB_ShopDataSet)
        End If

I want this code to add a new row to the customer table.However the current code modify the content of the first row in my table instead of adding a new one

I really need help guys
Please reply soon
Thanks

Solved it myself

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.