Quote Originally Posted by jmcilhinney View Post
If there's already a bound DataTable then why not just repopulate that? Otherwise, first check whether there's an existing binding and remove it if there is.
The sample codes in the tutorial is bad. That is why I what codes should I add to the program to prevent the error?

Ok, first check whether there's an existing binding and remove it if there is. How do you code this?

What code to use to check if there is existing binding?

What code to use to remove the binding?