Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey guys, this is my first question. i'm develping a vb.net system to my friend. he want to mark daily attendence of his employees because he pays his employess daily. so my question is how to mark daily attendence, i'm developing this thing alone and i'm not a vb.net expert. so guys if you have any idea please help me guys. Thanks everyone
Posted
Comments
Tomas Takac 9-May-15 2:12am    
You develop it by writing code. Do you have a specific question?
Aruna Usitha 9-May-15 2:15am    
but sir, i have no idea how to do that.. can you give me an idea how to do that?
King Fisher 9-May-15 5:28am    
Refer this,

Click

This sounds a lot like a homework question rather than "to my friend" - it's one we get a lot. So...no code! :laugh:

The first thing you are going to need is a storage medium of some kind: probably a database if you know how to use one. In this, you need to store employee details (Name, Position, an ID, Join Date, Leave Date, Contact details, and anything else). You also need to store the ID and a pair of timestamps: InTime and OutTime (the full DateTime for each).
You can then cross-correlate the employee details and the entry / exit times via the ID value.
Then to work out how long they have worked, you subtract each InTime from each OutTime to give you the duration and add them up for the week or month your "friend" is going to pay them for.

It'll get more complicated: what if someone forgets to sign out? Sign in? But those are details that you need to sort out with "your friend" because after all it's his money!

Give it a try: it's not difficult (or they wouldn't give it to students early in the course) and it's a good exercise in logic as well as implementation to work it out into code.
 
Share this answer
 
Comments
Aruna Usitha 9-May-15 2:30am    
database is ok,but i'm asking that how to save the data to the database. i have tried it using datagridview, but i'm confused. how to mark the data in a datagridview as if present or absent. and the eployees attendence are marked by my friend himself. thanks for replying my question sir..
OriginalGriff 9-May-15 3:24am    
If you need specific information, then ask a specific question - a general one like you started with can only elicit a general response! :laugh:
So explain exactly what your problem is: Remember that we can't see your screen, access your HDD, or read your mind.

Exactly what help do you need (and your comment to this solution is still far too general for us to understand what assistance is required)
Aruna Usitha 9-May-15 3:59am    
this is my question, how to save attendence to a database, i want the way to do it. using checkbox,or datagridview or like that. this system is operated by one person only he mark attendence daily
OriginalGriff 9-May-15 4:32am    
The problem is that there are a **huge** number of ways to do it! :laugh:
So what do you know about databases and how to get data into them, and what have you got as your user interface? What does your homework question ask you to do? What kind of environment are you coding for? WinForms? Website?
We don't know: we only get to work with exactly what you tell us, and all of these things affect how you might fulfil the task.
Aruna Usitha 9-May-15 4:34am    
i'm coding with vb.net microsoft visual studio 2012
Welcome on CodeProject!

One of the most important rules on this site is to do some search before you ask a question. Please, see 4. paragraph[^].

Start here[^]. Come back when you get stuck then ask detailed question.
 
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