R
Rob Oldfield
I have a VB windows forms app that generally works fine. Just occasionally
though users are getting an error message (I still haven't managed to get
any of them to behave themselves and make a note of it) and then the
datagrid on the form is replaced with a red cross. I've tried lots of
testing to try to recreate the error but with no success. I have seen
suggestions on the web about using CancelBinding and ResumeBinding to
suspend the datagrid's dependence on it's datasource as a solution to the
problem but have so far not figured out how to put it into practise. So...
The datagrid is based on a dataview based on a typed dataset. How do I
either Cancel and Resume binding, or (the sledgehammer approach) just
completely remove the datasource so that I can reapply it later?
Any ideas?
though users are getting an error message (I still haven't managed to get
any of them to behave themselves and make a note of it) and then the
datagrid on the form is replaced with a red cross. I've tried lots of
testing to try to recreate the error but with no success. I have seen
suggestions on the web about using CancelBinding and ResumeBinding to
suspend the datagrid's dependence on it's datasource as a solution to the
problem but have so far not figured out how to put it into practise. So...
The datagrid is based on a dataview based on a typed dataset. How do I
either Cancel and Resume binding, or (the sledgehammer approach) just
completely remove the datasource so that I can reapply it later?
Any ideas?