Click here to Skip to main content
15,916,449 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello guys,

I'm having a hard time on a subject. I have a table that stores some values​​. imagine that you have a control to know maximum value. the maximum values ​​for these records is 2000.
I am implementing an administrative page where the user will have a sense of how the data are in the database through an illustration progressBar.

an example: imagine that the database records are already entered in 1000 and progressBar shows 50% of its capacity.

I do not know how to solve this task, but I know he will just count the records in my database and I have to work on the ceiling.
any ideas? I appreciate
Posted
Comments
Thanks7872 20-Sep-13 8:47am    
Not at all clear. Did you mean that,suppose there are maximum 10 records allowed and if no. of records reaches 5,then it should show 50%?

1 solution

Don't be afraid to use Google[^], because Google is your friend. Sample result: Adding a Progress Bar to Your Web Service Client Application[^]

I would recommend you to read this article: Progress Bars[^]. It contains many useful information, for example:
MSDN wrote:
Use progress bars only for progress. Use meters to indicate percentages that aren't related to progress.


Probably, it is possible to achieve using chart control[^].
Charting With ASP.NET And LINQ[^]
 
Share this answer
 

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