Hi i have an App where one of the jobs will be convert an Excel and pass all the records to the DB.
So this takes a little time because it\'s more than 7000 rows tha
Here's an example of a background worker with progress.
However, double-check to make sure a BGW will work in your situation. If you're controlling Excel via COM interop, it may require an STA thread (and a BGW is an MTA thread, not STA).
If that's the case, you'll need to use a Task with an STA scheduler, or your own manual Thread (I strongly suggest the Task-based approach).