Threading problem

  • Thread starter Thread starter guru.rajiv
  • Start date Start date
G

guru.rajiv

Hi friends

I need a simple threading sample program in C# windows application.

Actually i have an application in which i am fetching around 5000
records from database on button click. I want to display a waiting
image or text untill the application complete the processing of
fetch.

Can any one plz help me out here................

Thanks in advance.............


Rajiv jain
 
Hi friends

I need a simple threading sample program in C# windows application.

Actually i have an application in which i am fetching around 5000
records from database on button click. I want to display a waiting
image or text untill the application complete the processing of
fetch.

Can any one plz help me out here................

Thanks in advance.............

Rajiv jain

look into the archives, you will get a lot of pieces of code with the
entire solution.

basically you create a thread, start it. and in the UI you display
your waiting image. When the thread ends processing the date it inform
the UI using one of UI's controls (does not matter which control in
particular) using Control.Invoke.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Perfomance using threading 5
Threading in applications 0
threading 6
C# / Winforms multithreading 3
How to stop a working thread 4
Problem with Thread 1
Invoking UI from woker thread. 12
Timer not working in thread 16

Back
Top