How to use progress Bar in asp.net

I have a form in asp.net and once submitted, it performs searches of records in the database and dispaly the results in another page in php

I want to use a progress bar, similar to ones used by travel websites use, so that while it is searching, the progress bar is displayed showing the progress with the search. it could have a timer. I am not sure how implement it with the current form. would be another intermediate page that shows the progress bar and then redirect to the results page? bear in mind I have a redirect in the submit subrouting.

could you please advise me of any tuturials/examples or anywhere I can look at?

Thanks in advance

Thanks. There are many examples on progress bars, but what I am looking for is something that will be displayed for a few seconds then redirect to the next page. I am using a subroutine and a submit button so I need something that ties up together

thanks

Might not be completely specific to you, but try this

Do you know any good examples in AJAX that matches what I am trying to achieve?

Ok, then you can place an ajax update panel and progress bar within the form, the progress bar will be displayed while the data is fetched

Using ajax might be your best bet,

which of the pages fetches the data?

The page in asp.net has a form and it fetches the data from the database