Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have created an application for Cyber Cafe. I completed implementing all the features I want in Project, but unable to implement a feature which is related to print page count. I want to implement a feature which shows the no of pages print by him/her during whole day when user asks for it.
Posted
Updated 23-Oct-10 7:10am
v2

1 solution

How about using a Dictionary<string, int>

Where the string is the userid/username and the int is a counter. Then every time they print, increase the counter.
 
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