Hi friends,

I am developing one application - in which on click event of a button, I am calling several functions and other sub-routines (e.g. creation of CSV file, Copy them to SQL table, load them to Datagrid) - now my problem is that when there are loads of data - it takes considerable time until grid fills with the data. So I need to execute progressbar or any other animation - during that idle time.

I read something about background worker in C# - but I could not fit it into my requirement any how.... so kindly help, it would be fine if some other alternative to the same requirement

thanks a lot,
Jeet

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.