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.
Abhay ShankerPosted Jan 9, 2014, 11:37 PM
http://www.codeproject.com/Articles/31406/Add-the-Percent-or-Any-Text-into-a-Standard-Progre
TAN WhoAMIPosted Jan 9, 2014, 10:39 PM
on average, it says takes about a minutes once the Query button is pressed and the data is displayed on the ListBox.
Within that one minute interval, I wish to show its progress in % and progressbar, else user would keep waiting and wondering whether when the results would be displayed.
I hope I am clear.
Mahesh ChandPosted Jan 9, 2014, 10:32 PM
Is there anything I am missing?