TAN WhoAMI

TAN WhoAMI

  • NA
  • 291
  • 0

Display progressbar and percentage (%) while querying a data

Jan 9 2014 9:10 PM

when querying a database, I wish to display the progressbar and its percentage (10% interval till 100%) of completion.

How do I implement it? I refer to 

http://www.c-sharpcorner.com/UploadFile/deepak.sharma00/how-to-show-progress-of-fetching-database-records-using-a-pr/

but it seems to me that I should not base the progressbar1.Maximum on the total records.

I think my code in the percentage progress is wrong too, what should it be based on?

code is as attached. 

thanks.


Attachment: code.zip

Answers (3)