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.
 
Back
Top