Hi there,

Does anybody know how to refresh a windows form after inserting into a database using a dataTableAdapter or any other method for that matter without having to close the form or use the fill method to reload the form? The problem with this is that you are taken to the first record in the table and this is not the outcome I want. Any help will be greatly appreciated in advance. Thanks.

Never mind sorted it. For anybody who might have similar problem the solution was:

call the TableAdapter.Fill() and finally BindingSource.MoveLast(); Feel sheepish afterwards. Enjoy!

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.