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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.