Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends,
i am creating one database project for employee records. and i want my progress-bar to progress real-time with database load time.

like one in tally.

how do i implement it?


thanks,
Posted
Updated 8-Nov-11 2:01am
v2

1 solution

You can create on the basis of how much record you have fetch vs total records. [That is what I did in our previous project]
 
Share this answer
 
Comments
Jαved 8-Nov-11 8:08am    
can u tell me in brief?
[no name] 8-Nov-11 8:38am    
First of all take count of number of records. Then suppose you are using list control see how many records you have currently fetched. And calculate percentage accordingly .
bbirajdar 8-Nov-11 9:31am    
Is it for web app or winforms? Progress bars work differently for both these apps.
In webforms , even if you are able to calculate the total time for fetching the records, the time required for processing will depend upon a lot of factors like- number of concurrent users, location of the user , his broadband speed, his system hardware configuration.
Jαved 7-Feb-12 5:52am    
No. I'm using it for Winforms application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900