Threading problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • guru.rajiv@gmail.com

    Threading problem

    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
  • Ignacio Machin ( .NET/ C# MVP )

    #2
    Re: Threading problem

    On Oct 16, 10:10 am, guru.ra...@gmai l.com wrote:
    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.

    Comment

    Working...