Quantcast
Viewing all articles
Browse latest Browse all 18858

Ultimate Novice: Question About ProgressBar And BackgroundWorker


I have a one control(Textbox) application. The user enter a number and if the format is correct, the database searches for the number and display a confirmation. All of this happens as follows:

    1. The data entered passed validation(No !@#$% and meets specific length)

    2. Query data for match on keyUp.

All of the above works great BUT this is where I am confused.

I need to add a progressBar/Indicator to show the database is searching, the progress bar will disappear when the message says:
Match found/match not found.

Everything I read talks about background service or threading. But I only have a single textbox, and the user can only enter one piece of data at a time. Basically, there is a single interaction point.

Do I need background worker and threading for this?

Can someone, anyone please tell me how to approach this?

All I need is a way to say, Searching.... but graphically.

How do I do this?

Thank you all.


Viewing all articles
Browse latest Browse all 18858

Trending Articles