0

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.

1
Contributor
1
Reply
3
Views
6 Years
Discussion Span
Last Post by angelmichael4
0

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!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.