Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. attendance

attendance

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sathyan_8294
    wrote on last edited by
    #1

    i am using .net 2005.i do my project in asp.net. My project title is master log attendance. our project is mainly used for see the employee attendance details. i want to put 'x' at date field in datagrid. here 'x' means present. date field will displayed as what we select from date and to date. i am using 2 tables.first table name as emp_details contain 2 field names as emp_id,emp_name. second table name as attendance contain 2 field names as emp_id,date. employees are put attendance daily. in web form i keep emp_name,from date,to date. i select emp_name,from date and todate. in following example i use dash(-) for space. for (ex): in emp_details table, values are emp_id---emp_name --11-------ashok --12-------ramu in attendance table, values are emp_id----date --11-----05-06-08 --11-----06-06-08 --11-----09-06-08 --12-----05-06-08 --12-----07-06-08 i select emp_name as ashok,from date as 05-06-2008,to date as 09-06-2008 means i want to display 'x' in date available in table for that selected name as ashok. emp_id--name----05-06-2008---06-06-2008 --07-06-2008 --08-06-2008 --09-06-2008 ---11----ashok------------x----------------x---------------------------------------------------x here no 'x' for 07-06-2008 and 08-06-2008 for ashok.because no date(07-06-2008 and 08-06-2008 ) for id of ashok in attentance table.that means he is absent. i select emp_name as all emp_name,from date as 05-06-2008,to date as 09-06-2008 means i want to display 'x' in date available in table for that particular name. emp_id--name---05-06-2008---06-06-2008 --07-06-2008 --08-06-2008 --09-06-2008 ---11---ashok------------x-----------------x---------------------------------------------------x ---12---ramu-------------x--------------------------------x here no 'x' for 07-06-2008 and 08-06-2008 for ashok.because no date(07-06-2008 and 08-06-2008 ) for id of ashok in attentance table.that means he is absent. like wise no 'x' for 06-06-2008,08-06-2008 and 09-06-2008 for ramu.because no date(06-06-2008,08-06-2008 and 09-06-2008) for id of ramu in attentance table.that means he is absent.

    J 1 Reply Last reply
    0
    • S sathyan_8294

      i am using .net 2005.i do my project in asp.net. My project title is master log attendance. our project is mainly used for see the employee attendance details. i want to put 'x' at date field in datagrid. here 'x' means present. date field will displayed as what we select from date and to date. i am using 2 tables.first table name as emp_details contain 2 field names as emp_id,emp_name. second table name as attendance contain 2 field names as emp_id,date. employees are put attendance daily. in web form i keep emp_name,from date,to date. i select emp_name,from date and todate. in following example i use dash(-) for space. for (ex): in emp_details table, values are emp_id---emp_name --11-------ashok --12-------ramu in attendance table, values are emp_id----date --11-----05-06-08 --11-----06-06-08 --11-----09-06-08 --12-----05-06-08 --12-----07-06-08 i select emp_name as ashok,from date as 05-06-2008,to date as 09-06-2008 means i want to display 'x' in date available in table for that selected name as ashok. emp_id--name----05-06-2008---06-06-2008 --07-06-2008 --08-06-2008 --09-06-2008 ---11----ashok------------x----------------x---------------------------------------------------x here no 'x' for 07-06-2008 and 08-06-2008 for ashok.because no date(07-06-2008 and 08-06-2008 ) for id of ashok in attentance table.that means he is absent. i select emp_name as all emp_name,from date as 05-06-2008,to date as 09-06-2008 means i want to display 'x' in date available in table for that particular name. emp_id--name---05-06-2008---06-06-2008 --07-06-2008 --08-06-2008 --09-06-2008 ---11---ashok------------x-----------------x---------------------------------------------------x ---12---ramu-------------x--------------------------------x here no 'x' for 07-06-2008 and 08-06-2008 for ashok.because no date(07-06-2008 and 08-06-2008 ) for id of ashok in attentance table.that means he is absent. like wise no 'x' for 06-06-2008,08-06-2008 and 09-06-2008 for ramu.because no date(06-06-2008,08-06-2008 and 09-06-2008) for id of ramu in attentance table.that means he is absent.

      J Offline
      J Offline
      Jorgen Andersson
      wrote on last edited by
      #2

      Seems pretty straight forward to me. What's your actual question?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups