Updating DataGridView from another Form using BackGroundWorker
- by FezKazi
Hi!
I Have one Form (LoginForm) which has a Background Worker Monitoring a database for new entries.
Then I have another Form (AdminForm) which I need to signal to update its datagrids whenever new data is available.
I could poll the database in the AdminForm too, but considering that LoginForm is already doing some polling, which can be costly, I just want to signal AdminForm to update the DataGridViews with the new data.
You may ask, why is LoginForm doing the polling when youre showing the stuff in the AdminForm? Well, LoginForm is actually processing the data and sending it over the Serial Port :$ heheh. I want it to be able to process the data without having an administrator logged in all the time.